script/build-wasm: update emcc options to use actual non-deprecated names
This commit is contained in:
parent
be179a3c80
commit
a9dfcb9e47
1 changed files with 2 additions and 2 deletions
|
|
@ -91,10 +91,10 @@ runtime_methods='stringToUTF16','AsciiToString'
|
|||
# in the `target/scratch` directory
|
||||
$emcc \
|
||||
-s WASM=1 \
|
||||
-s TOTAL_MEMORY=33554432 \
|
||||
-s INITIAL_MEMORY=33554432 \
|
||||
-s ALLOW_MEMORY_GROWTH=1 \
|
||||
-s MAIN_MODULE=2 \
|
||||
-s NO_FILESYSTEM=1 \
|
||||
-s FILESYSTEM=0 \
|
||||
-s NODEJS_CATCH_EXIT=0 \
|
||||
-s NODEJS_CATCH_REJECTION=0 \
|
||||
-s EXPORTED_FUNCTIONS=@${web_dir}/exports.json \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue