wasm: increase initial memory to 64 MB and stack to 10 MB for larger designs

This commit is contained in:
Intubun
2026-06-09 16:07:53 -04:00
committed by R. Timothy Edwards
parent 2f2faf68eb
commit d873cd7f2b
+2 -2
View File
@@ -28,8 +28,8 @@ TOP_EXTRA_LIBS += \
-sEXPORTED_FUNCTIONS=_magic_wasm_init,_magic_wasm_run_command,_magic_wasm_source_file,_magic_wasm_update \
-sEXPORTED_RUNTIME_METHODS=cwrap,ccall,FS,setValue,getValue \
-sALLOW_MEMORY_GROWTH=1 \
-sINITIAL_MEMORY=33554432 \
-Wl,-z,stack-size=5242880 \
-sINITIAL_MEMORY=67108864 \
-Wl,-z,stack-size=10485760 \
-sASSERTIONS=1 \
-sENVIRONMENT=node,web,worker \
-sFORCE_FILESYSTEM=1 \