Skip to content

Commit 1ae773e

Browse files
authored
Source emsdk_env instead of emsdk (#113)
1 parent 72c8c0c commit 1ae773e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/toolchain/export-web.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ git clone https://github.com/emscripten-core/emsdk.git
3737
cd emsdk
3838
./emsdk install 3.1.74
3939
./emsdk activate 3.1.74
40-
source ./emsdk.sh # On Windows: `run ./emsdk.bat`
40+
41+
source ./emsdk_env.sh # on Linux
42+
run ./emsdk_env.bat # on Windows
4143
```
4244

4345
It would also be **highly** recommended to follow the instructions in the terminal to add `emcc`[^emcc-def] to your `PATH`.
44-
If not, it is necessary to manually `source` the `emsdk.sh` file in every new terminal prior to compilation.
46+
If not, it is necessary to manually `source` the `emsdk_env.sh` file in every new terminal prior to compilation.
4547
This is platform-specific.
4648

4749
[flag-build-std]: https://doc.rust-lang.org/cargo/reference/unstable.html#list-of-unstable-features

0 commit comments

Comments
 (0)