File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ git clone https://github.com/emscripten-core/emsdk.git
3737cd 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
4345It 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.
4547This is platform-specific.
4648
4749[ flag-build-std ] : https://doc.rust-lang.org/cargo/reference/unstable.html#list-of-unstable-features
You can’t perform that action at this time.
0 commit comments