Skip to content

Commit

Permalink
Merge pull request #29 from babaeee/mz3
Browse files Browse the repository at this point in the history
increase intial stack memory
  • Loading branch information
arshiamoeini authored Jan 31, 2024
2 parents 96a14e6 + d0256a6 commit 73ea0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_example_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build wasm
run: |
cd hakim-json
EMCC_CFLAGS="-s TOTAL_STACK=32MB -s INITIAL_MEMORY=64MB" cargo build -vv --release --target wasm32-unknown-emscripten
EMCC_CFLAGS="-s TOTAL_STACK=32MB -s INITIAL_MEMORY=1024MB" cargo build -vv --release --target wasm32-unknown-emscripten
cd ..
node scripts/patch-emscripten.js ./target/wasm32-unknown-emscripten/release/hakim-json.js
cp ./target/wasm32-unknown-emscripten/release/hakim-json.js ./front/static/.
Expand Down

0 comments on commit 73ea0d9

Please sign in to comment.