Configure 16 MB stack reserve on Windows for debug builds

This commit is contained in:
Karim Jerbi committed 2026-09-08 13:16:49 +01:00
1 parent 5b663bfe38
commit 84e95e4781
1 file changed
+10
+10
View File
@@ -18,3 +18,13 @@ rustflags = [
# WebAssembly stack while developing with `trunk serve`.
'-Clink-arg=-zstack-size=4194304',
]
[target.x86_64-pc-windows-gnu]
rustflags = [
"-Clink-arg=-Wl,--stack,16777216",
]
[target.x86_64-pc-windows-msvc]
rustflags = [
"-Clink-arg=/STACK:16777216",
]