Just playing with the wasi-threads (via the blog) and built my wasm file with the wit component instructions. Builds ok and runs as advertised.
But when I try to encode a component from the module with: wasm-tools component new utils.wasm -o utils.component.wasm --adapt wasi_snapshot_preview1.command.wasm
I get:
Error: failed to encode a component from module
Caused by:
threads must be enabled for shared memories (at offset 0x18f)
Last updated: Nov 22 2024 at 17:03 UTC