Hi, I'm playing with the new wasi-threads implementation, which requires shared memory to work with. I haven't found a way to make rustc to generate a wasm32-wasi target to have module import an external memory. I wonder if I missed anything. Could anyone help? Thanks.
There is an open MCP (major change proposal) to add a new target for wasi-threads: https://github.com/rust-lang/compiler-team/issues/594
bjorn3 said:
There is an open MCP (major change proposal) to add a new target for wasi-threads: https://github.com/rust-lang/compiler-team/issues/594
That particular proposal is about WASI Preview 2, not wasi-threads (which is unfortunately incompatible with Preview 2 and the Component Model for the time being).
Here's the MCP for wasm32-wasi-threads
: https://github.com/rust-lang/compiler-team/issues/574.
It might take me a bit to get around to implementing that so if anyone else wants to help, let me know!
Thanks for the direction, I'll await on the MCP.
anb has marked this topic as resolved.
Last updated: Dec 23 2024 at 12:05 UTC