Skip to content

Commit 9f4059b

Browse files
committed
use stack in MB instead
1 parent 0653a4b commit 9f4059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/example.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if(EMSCRIPTEN)
5151
-sEXPORTED_FUNCTIONS=_main,_malloc,_free,_memcpy \
5252
-sEXPORTED_RUNTIME_METHODS=ccall \
5353
-sUSE_GLFW=3 \
54-
-sALLOW_MEMORY_GROWTH=1 -sSTACK_SIZE=10000000 \
54+
-sALLOW_MEMORY_GROWTH=1 -sSTACK_SIZE=5MB \
5555
-sASYNCIFY \
5656
--js-library=${DAWN_BUILD_DIR}/gen/src/emdawnwebgpu/library_webgpu_enum_tables.js \
5757
--js-library=${DAWN_BUILD_DIR}/gen/src/emdawnwebgpu/library_webgpu_generated_struct_info.js \

0 commit comments

Comments
 (0)