File tree 1 file changed +3
-3
lines changed
src/doc/rustc/src/platform-support
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.
61
61
By default the WASI targets in Rust ship in rustup with a precompiled copy of
62
62
[ ` wasi-libc ` ] meaning that a WebAssembly-targetting-Clang is not required to
63
63
use 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.
66
66
67
67
Note that this behavior can be controlled with ` -Clinker ` and
68
68
` -Clink-self-contained ` , however. By specifying ` clang ` as a linker and
@@ -97,7 +97,7 @@ rustup target add wasm32-wasi-preview1
97
97
```
98
98
99
99
> ** 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
101
101
> available on stable Rust then ` wasm32-wasi ` should be available instead.
102
102
103
103
Rust programs can be built for that target:
You can’t perform that action at this time.
0 commit comments