diff --git a/sunscreen_docs/src/advanced/wasm.md b/sunscreen_docs/src/advanced/wasm.md index 15254656a..85646ae97 100644 --- a/sunscreen_docs/src/advanced/wasm.md +++ b/sunscreen_docs/src/advanced/wasm.md @@ -11,7 +11,7 @@ Rust features multiple targets for building WASM binaries, but Sunscreen current ```sh git clone https://github.com/emscripten-core/emsdk.git emsdk/emsdk install 3.1.3 -emsdk/emsdk activate +emsdk/emsdk activate 3.1.3 ``` You can try installing other toolchain versions if you wish, but we've seen the compiler seg fault and other strange errors when building our examples 🙃. @@ -138,4 +138,4 @@ node http-server /git/repo/root/dir ### Debug your program on the website Open Chrome and navigate to `http://localhost:8080/index.html`. Hit F12 to open the debugger. Chrome should find your source maps allowing you to navigate the stack, set breakpoints, step, continue, etc. all with real source code. Unfortunately, you can't see variables. -You can also use the `log` crate to print information to the debug console. If you go this route, use `simple-logger` as the logger backend; don't use a WASM-specific crate (e.g. `wasm-logger`) for this because emscripten already routes stdout and stderr to the console. \ No newline at end of file +You can also use the `log` crate to print information to the debug console. If you go this route, use `simple-logger` as the logger backend; don't use a WASM-specific crate (e.g. `wasm-logger`) for this because emscripten already routes stdout and stderr to the console.