We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code example:
;; wat2wasm --enable-gc ./test.wat (module (type $i32_arr (array (mut i32)) ) (func $createArray (param $len i32) (result i32) (array.new $i32_arr (i32.const 42) ;; initial value (local.get $len) ;; array len ) (array.get $i32_arr (i32.const 0) ;; element idx ) ) (export "createArray" (func $createArray) ) )
error msg:
./test.wat:6:10: error: unexpected token "array.new", expected an instr. (array.new
wat2wasm doesn't support array instr?
array
The text was updated successfully, but these errors were encountered:
Indeed wasm-gc is not supported by wabt. See #2363 and #2348
Sorry, something went wrong.
No branches or pull requests
code example:
error msg:
wat2wasm doesn't support
array
instr?The text was updated successfully, but these errors were encountered: