Skip to content

Commit 6b18473

Browse files
committed
Update target docs to mention MAXIMUM_MEMORY=2GB
1 parent a20996c commit 6b18473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ This target is not extensively tested in CI for the rust-lang/rust repository. I
118118
can be tested locally, for example, with:
119119

120120
```sh
121-
./x.py test --target wasm32-unknown-emscripten --skip src/tools/linkchecker
121+
EMCC_CFLAGS="-s MAXIMUM_MEMORY=2GB" ./x.py test --target wasm32-unknown-emscripten --skip src/tools/linkchecker
122122
```
123123

124124
To run these tests, both `emcc` and `node` need to be in your `$PATH`. You can

0 commit comments

Comments
 (0)