wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go

Home Page:https://pkg.go.dev/github.com/wasmerio/wasmer-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I enable threads for my module?

alexpitsikoulis opened this issue · comments

Summary

I enabled threads and shared memory for my AssemblyScript module and it compiles fine, but when I try to use it in wasmer it says threads must be enabled. I can't seem to find any options for this. Am I missing something or is this a bug?

Additional details

My error:
2023/01/03 17:26:13 failed to create WASM module: Validation error: threads must be enabled for shared memories (at offset 112) exit status 1

commented

I can't seem to find any options for this panic: Validation error: threads must be enabled for shared memories (at offset 214)