Skip to content

Commit

Permalink
fix(wasm_wasm3): use 64kb memory for emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
JaDogg committed Nov 14, 2022
1 parent 7102474 commit 0b09f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/wasm_wasm3.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ uint8_t* w4_wasmInit () {
//
// Using 64 KB, since this is the default of wasm3 standalone binary on
// desktop platforms (from wasm3/platforms/app/main.c).
uint32_t wasm3StackSize = 10 * 1024;
uint32_t wasm3StackSize = 64 * 1024;

runtime = m3_NewRuntime(env, wasm3StackSize, NULL);

Expand Down

0 comments on commit 0b09f9e

Please sign in to comment.