WasmEdge
WasmEdge copied to clipboard
Generate a shared memory in env
Motivation
The wasm file with wasi-threads will import a shared memory from env. In current implement, Wasmedge need to add this manually in c api (ref). It is meaning we can not run an wasi-threads example directly.
Details
From wasi threads document, the WASI host must first allocate shared memories to satisfy the module's imports.
Appendix
any update?
Hi @en-rai Since the wasi-thread is not compatible with WASI preview 2 and the component model, we decided to freeze this proposal unless there is a new version of it.
@hydai Does this means we should close the issue for now?
Yes. I think so.