wasmerio/wasmer-go

How do I enable threads for my module?

alexpitsikoulis opened this issue · 1 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

Keeyuu commented

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