Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Aug 9, 2024
1 parent 06197ef commit 7d2595f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/doc/rustc/src/platform-support/wasm32-wasip1-threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ necessary to detect this target may change as the target becomes more stable.

## Enabled WebAssembly features

The default set of WebAssembly features enabled for compilation is similar to
[`wasm32-unknown-unknokwn`](./wasm32-unknown-unknown.md) but two more features
are included:
The default set of WebAssembly features enabled for compilation includes two
more features in addition to that which
[`wasm32-unknown-unknown`](./wasm32-unknown-unknown.md) enables:

* `bulk-memory`
* `atomics`

For more information about features see the documentation for
[`wasm32-unknown-unknokwn`](./wasm32-unknown-unknown.md), but note that the
[`wasm32-unknown-unknown`](./wasm32-unknown-unknown.md), but note that the
`mvp` CPU in LLVM does not support this target as it's required that
`bulk-memory`, `atomics`, and `mutable-globals` are all enabled.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/wasm32-wasip1.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ to Rust 1.80 the `target_env` condition was not set.
## Enabled WebAssembly features

The default set of WebAssembly features enabled for compilation is currently the
same as [`wasm32-unknown-unknokwn`](./wasm32-unknown-unknown.md). See the
same as [`wasm32-unknown-unknown`](./wasm32-unknown-unknown.md). See the
documentation there for more information.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/wasm32-wasip2.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ It's recommended to conditionally compile code for this target with:
## Enabled WebAssembly features

The default set of WebAssembly features enabled for compilation is currently the
same as [`wasm32-unknown-unknokwn`](./wasm32-unknown-unknown.md). See the
same as [`wasm32-unknown-unknown`](./wasm32-unknown-unknown.md). See the
documentation there for more information.

0 comments on commit 7d2595f

Please sign in to comment.