Skip to content

Commit ed106e0

Browse files
committed
Review comments
1 parent 9c6569e commit ed106e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/rustc/src/platform-support/wasm32-wasi-preview1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ mismatches are considered bugs that need to be fixed.
6161
By 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
6363
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.
6666

6767
Note 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
103103
Rust programs can be built for that target:

0 commit comments

Comments
 (0)