mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
wasm: increase initial memory to 64 MB and stack to 10 MB for larger designs
This commit is contained in:
committed by
R. Timothy Edwards
parent
2f2faf68eb
commit
d873cd7f2b
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user