The README includes examples that tell the user to specify --target=wasm32-wasi, but that's not the only option available. There are cursory references to wasm32-wasip1, wasm32-wasip2, and wasm32-wasip1-threads in the Limitations section of the README. It's not clear to me what other target triples are meant to be supported in a given WASI SDK release. The answer must depend on the sysroot and upstream clang.
Also note that the wasm32-wasi target was deprecated in rustc, and I think the intention here is to keep these similar or the same? I'm not sure.
The README includes examples that tell the user to specify
--target=wasm32-wasi, but that's not the only option available. There are cursory references towasm32-wasip1,wasm32-wasip2, andwasm32-wasip1-threadsin the Limitations section of the README. It's not clear to me what other target triples are meant to be supported in a given WASI SDK release. The answer must depend on the sysroot and upstreamclang.Also note that the
wasm32-wasitarget was deprecated inrustc, and I think the intention here is to keep these similar or the same? I'm not sure.