Skip to content

Commit

Permalink
increase intial stack memory
Browse files Browse the repository at this point in the history
  • Loading branch information
arshiamoeini committed Jan 31, 2024
1 parent 6029ac4 commit d0256a6
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 d0256a6

Please sign in to comment.