Skip to content

Commit

Permalink
Add ALLOW_MEMORY_GROWTH to wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Oct 1, 2024
1 parent bcbd163 commit efbb682
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emscripten/buildToolkit
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ if ($wasmQ) {
$LFLAGS = " -s WASM=1";
$LFLAGS .= " -s INITIAL_MEMORY=512MB";
$LFLAGS .= " -s STACK_SIZE=256MB";
$LFLAGS .= " -s ALLOW_MEMORY_GROWTH";
$LFLAGS .= " -s SINGLE_FILE=1";
$LFLAGS .= " -s INCOMING_MODULE_JS_API=onRuntimeInitialized";
if ($debug) {
Expand Down

0 comments on commit efbb682

Please sign in to comment.