aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-10-04 19:26:49 +0200
committerRon Evans <[email protected]>2023-10-04 22:43:14 +0200
commit88b29589d67526320ea400c0abf2110db7a626eb (patch)
tree8620af44c4dbac45547fd7183bb00b05fa52f30f /targets
parent8cbfbcae5a4a2249d0e38973345d04b79a23aa1c (diff)
downloadtinygo-88b29589d67526320ea400c0abf2110db7a626eb.tar.gz
tinygo-88b29589d67526320ea400c0abf2110db7a626eb.zip
targets: increase default stack size to 64k for wasi/wasm targets
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'targets')
-rw-r--r--targets/wasi.json2
-rw-r--r--targets/wasm.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/targets/wasi.json b/targets/wasi.json
index 33b37a89f..1d845c741 100644
--- a/targets/wasi.json
+++ b/targets/wasi.json
@@ -9,7 +9,7 @@
"libc": "wasi-libc",
"rtlib": "compiler-rt",
"scheduler": "asyncify",
- "default-stack-size": 32768,
+ "default-stack-size": 65536,
"cflags": [
"-mbulk-memory",
"-mnontrapping-fptoint",
diff --git a/targets/wasm.json b/targets/wasm.json
index 2b9356787..050ee105e 100644
--- a/targets/wasm.json
+++ b/targets/wasm.json
@@ -9,7 +9,7 @@
"libc": "wasi-libc",
"rtlib": "compiler-rt",
"scheduler": "asyncify",
- "default-stack-size": 32768,
+ "default-stack-size": 65536,
"cflags": [
"-mbulk-memory",
"-mnontrapping-fptoint",