Describe the Bug
wasm-snip fails to parse Wasm that contains SIMD instructions such as v128:
error: failed to parse code section
caused by found type v128
caused by expected type i32
caused by The input WebAssembly is invalid
Steps to Reproduce
- Take a Wasm file that uses SIMD instructions (example: https://ameo.link/u/8oc.wasm)
- Use it as input for
wasm-snip: wasm-snip 8oc.wasm
Additional Context
This might just be a matter of bumping the wasm parsing libraries. However, some other Wasm tooling I use wasm-opt and wasm2wat both require special command line arguments to be passed in order to deal with SIMD.
Describe the Bug
wasm-snipfails to parse Wasm that contains SIMD instructions such asv128:Steps to Reproduce
wasm-snip:wasm-snip 8oc.wasmAdditional Context
This might just be a matter of bumping the wasm parsing libraries. However, some other Wasm tooling I use
wasm-opt and wasm2watboth require special command line arguments to be passed in order to deal with SIMD.