fix(build): increase Windows debug stack

Increase the Windows debug executable stack reserve to prevent startup overflow.
This commit is contained in:
Sebastian authored and GitHub committed 2026-08-17 22:40:45 +03:00
1 parent 04b9363666
commit fcffa13693
1 file changed
+7
+7
View File
@@ -18,3 +18,10 @@ rustflags = [
# WebAssembly stack while developing with `trunk serve`.
'-Clink-arg=-zstack-size=4194304',
]
[target.x86_64-pc-windows-msvc]
rustflags = [
# Debug builds of the host have a deeper call stack than the default 1 MiB
# Windows stack allows; increase it to avoid stack overflow on startup.
'-Clink-arg=/STACK:16777216',
]