Stream: wasi-threads

Topic: wasm-tools component new


view this post on Zulip Gordon Smith (Apr 09 2023 at 14:40):

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: Oct 23 2024 at 20:03 UTC