Skip to content

Commit 6a01fc8

Browse files
authored
Fix the emcc installation requirements
1 parent 3319e8e commit 6a01fc8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doc/rustc/src/platform-support/wasm32-unknown-emscripten.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ If you are only targeting the web and need to access web APIs, the
4141
## Requirements
4242

4343
This target is cross-compiled. The Emscripten compiler toolchain `emcc` must be
44-
installed to link WASM binaries for this target. Please refer to
45-
<https://emscripten.org/docs/getting_started/downloads.html> on how to get started
46-
with and install `emcc`.
47-
48-
You can also build `emcc` from source with:
44+
installed to link WASM binaries for this target. You can install and activate
45+
`emcc` using:
4946

5047
```sh
5148
git clone https://github.com/emscripten-core/emsdk.git --depth 1
@@ -54,6 +51,9 @@ git clone https://github.com/emscripten-core/emsdk.git --depth 1
5451
source ./emsdk/emsdk_env.sh
5552
```
5653

54+
Please refer to <https://emscripten.org/docs/getting_started/downloads.html> for
55+
further details and instructions.
56+
5757
## Building the target
5858

5959
Building this target can be done by:

0 commit comments

Comments
 (0)