diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index ddc2a81..fb2d28b 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -990,10 +990,10 @@ function strip() -- .. "-s EMTERPRETIFY=1 " -- .. "-s EMTERPRETIFY_ASYNC=1 " .. "-s TOTAL_MEMORY=268435456 " +-- .. "-s ALLOW_MEMORY_GROWTH=1 " .. "--memory-init-file 1 " - .. "\"$(TARGET)\" -o \"$(TARGET)\".html" --- .. "--preload-file ../../../examples/runtime" - -- ALLOW_MEMORY_GROWTH + .. "\"$(TARGET)\" -o \"$(TARGET)\".html " +-- .. "--preload-file ../../../examples/runtime@/" } configuration {} -- reset configuration