Stream: wasi

Topic: rustc `wasm32-wasi-preview2` target discussion


view this post on Zulip Ryan Levick (rylev) (Jan 11 2024 at 09:57):

I've opened a PR to rustc creating a new target for wasm32-wasi-preview2.

So far the only aspect that's up for debate is the cfg flag that controls whether code gets compiled for preview1 or preview2. The PR originally laid out preview2 as different OS (i.e., #[cfg(target_os ="wasi-preview2")]), but a commenter suggested using target_env instead. It seems like we'll be going with target_env, and you can read the discussion of why here. Please leave your opinion if you disagree with where we've landed!

This is the initial implementation of the MCP rust-lang/compiler-team#694 creating a new tier 3 target wasm32-wasi-preview2. That MCP has been seconded and will most likely be approved in a little ...
This is the initial implementation of the MCP rust-lang/compiler-team#694 creating a new tier 3 target wasm32-wasi-preview2. That MCP has been seconded and will most likely be approved in a little ...

Last updated: Nov 22 2024 at 16:03 UTC