From 0b09f9e13be0342ae63182a7734550feffca2bf5 Mon Sep 17 00:00:00 2001 From: JaDoggx86 Date: Mon, 14 Nov 2022 23:30:50 +0000 Subject: [PATCH] fix(wasm_wasm3): use 64kb memory for emulator --- src/backend/wasm_wasm3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/wasm_wasm3.c b/src/backend/wasm_wasm3.c index dfdf772..70aeac0 100644 --- a/src/backend/wasm_wasm3.c +++ b/src/backend/wasm_wasm3.c @@ -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);