wasm: increase the default Asyncify buffer size
authorYuta Saito <[email protected]>
Fri, 2 May 2025 16:47:29 +0000 (2 16:47 +0000)
committerYuta Saito <[email protected]>
Fri, 2 May 2025 17:36:13 +0000 (3 01:36 +0800)
We will need more Asyncify space for the upcoming namespace changes
as it will introduce more local variables and conditional jumps in
asyncify'd functions.

wasm/setjmp.h

index e65bfc0..82cfff1 100644 (file)
@@ -5,7 +5,7 @@
 #include <stdbool.h>
 
 #ifndef WASM_SETJMP_STACK_BUFFER_SIZE
-# define WASM_SETJMP_STACK_BUFFER_SIZE 6144
+# define WASM_SETJMP_STACK_BUFFER_SIZE 8192
 #endif
 
 struct __rb_wasm_asyncify_jmp_buf {