File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/doc/rustc/src/platform-support Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ mismatches are considered bugs that need to be fixed.
6161By default the WASI targets in Rust ship in rustup with a precompiled copy of
6262[ ` wasi-libc ` ] meaning that a WebAssembly-targetting-Clang is not required to
6363use the WASI targets from Rust. If there is no actual interoperation with C
64- then ` rustup target add wasm32-wasi ` is all that's needed to get started with
65- WASI.
64+ then ` rustup target add wasm32-wasi-preview1 ` is all that's needed to get
65+ started with WASI.
6666
6767Note that this behavior can be controlled with ` -Clinker ` and
6868` -Clink-self-contained ` , however. By specifying ` clang ` as a linker and
@@ -97,7 +97,7 @@ rustup target add wasm32-wasi-preview1
9797```
9898
9999> ** Note** : the ` wasm32-wasi-preview1 ` target is new and may only be available
100- > on nightly by the time you're reading this. If ` wasm32-wasi-preview ` isn't
100+ > on nightly by the time you're reading this. If ` wasm32-wasi-preview1 ` isn't
101101> available on stable Rust then ` wasm32-wasi ` should be available instead.
102102
103103Rust programs can be built for that target:
You can’t perform that action at this time.
0 commit comments