From 4734b3cb606f72ccade2b801ce573745a3f9e2a7 Mon Sep 17 00:00:00 2001 From: CountBleck Date: Sun, 9 Apr 2023 15:20:14 -0700 Subject: [PATCH] Increase stack size to 655360 This should fix AssemblyScript/assemblyscript#2682 and should work around WebAssembly/binaryen#5648. I don't know. I didn't test this. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a33fe1c9..d45eaf27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,7 +78,7 @@ jobs: cd ./binaryen/build source $HOME/emsdk/emsdk_env.sh emcc --version - emcmake cmake .. -DCMAKE_BUILD_TYPE=Release + emcmake cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-sSTACK_SIZE=655360" emmake make -j2 binaryen_wasm cd ../.. npm run bundle