Fix ALLOW_MEMORY_GROWTH setting
Fixes ERROR:root:ALLOW_MEMORY_GROWTH: No such file or directory ("ALLOW_MEMORY_GROWTH" was expected to be an input file, based on the commandline arguments provided) according to https://emscripten.org/docs/optimizing/Optimizing-Code.html#memory-growth
This commit is contained in:
parent
3a51b23f1a
commit
15bf75a2f9
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ mkdir -p target/scratch
|
|||
$emcc \
|
||||
-s WASM=1 \
|
||||
-s TOTAL_MEMORY=33554432 \
|
||||
-s ALLOW_MEMORY_GROWTH \
|
||||
-s ALLOW_MEMORY_GROWTH=1 \
|
||||
-s MAIN_MODULE=2 \
|
||||
-s NO_FILESYSTEM=1 \
|
||||
-s "EXPORTED_FUNCTIONS=${exports}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue