I currently have https://peps.python.org/pep-0011/ listing CPython's support for wasm32-wasi
, but I'm starting to wonder if I should clarify it to be wasm32-wasip1
? Is the association of wasm32-wasi
always going to be as wasm32-wasip1
? And when did the wasm32-wasip1
target become available in the WASI SDK (a quick search at https://github.com/WebAssembly/wasi-sdk/releases didn't show anything)?
https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html
To summarize:
wasm32-wasip1
is an effective rename of the existingwasm32-wasi
target, freeing the target name up for an eventual WASI 1.0
To answer your question:
Is the association of
wasm32-wasi
always going to be aswasm32-wasip1
?
No. wasm32-wasi
will eventually mean WASI1.0. At least in the Rust world.
What about the WASI SDK world?
Don't know. I assume the intention is to keep them in sync.
when did the
wasm32-wasip1
target become available in the WASI SDK
The earliest I can track it down is to: https://github.com/WebAssembly/wasi-libc/commit/c9c7d0616e0f7fe4d0d0fa54372b6d1f5689f91d
I'm starting to wonder if I should clarify it to be
wasm32-wasip1
?
The commit above mentions "the wasm32-wasi
target should transition to wasm32-wasip1
", so I'd guess: Yes.
Thanks for the links! That suggests wasm32-wasip1
came in as part of WASI SDK 22 which came out mid-April.
Last updated: Dec 23 2024 at 13:07 UTC