wapm-cli
wapm-cli copied to clipboard
Fails to validate / upload WebAssembly WASI module with bulks memory operations
With wapm validate . or wapm upload, on a WASI binary built with WASI-SDK 16 (attached), the error occurs:
Error: WASM file "./VTKImageIOReadImage.wasi.wasm" detected as invalid because InvalidWasm { error: "bulk memory support is not enabled (at offset 312194)" }
wasm2wat confirms the presence of the operations.
bulk memory appears to be supported by most runtimes and I would not expect it to be a blocker.
wapm -V
wapm-cli 0.5.4
rustc -V
rustc 1.53.0 (53cb7b09b 2021-06-17)
[example-bulk-memory.zip](https://github.com/wasmerio/wapm-cli/files/9043287/example-bulk-memory.zip)