You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move wasi32 system to wasm32-wasip1 target #435954
# Rust uses `wasm32-wasip?` rather than `wasm32-unknown-wasi`.
# We cannot know which subversion does the user want, and
# currently use WASI 0.1 as default for compatibility. Custom
# users can set `rust.rustcTarget` to override it.
iffinal.isWasithen
"${cpu_}-wasip1"
A new Rust compiler doesn't accept wasm32-unknown-wasi as a target triple anymore, and clang seems to alias wasm32-unknown-wasi to wasm32-wasip1, which is the now preferred target name.
I'm unsure whether this will cause any breakage, but as far as I understand these targets behave equivalently.
It might make sense to define a new system wasi32_1p and wasi32_2p altogether to disambiguate between these 2.
Activity
systems: rename extant wasi targets to wasip1
systems: rename extant wasi targets to wasip1