fix(build): increase Windows debug stack

Increase the Windows debug executable stack reserve to prevent startup overflow.
This commit is contained in:
Sebastian 2026-08-17 21:40:45 +02:00 • committed by GitHub
commit fcffa13693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,3 +18,10 @@ rustflags = [
# WebAssembly stack while developing with `trunk serve`. # WebAssembly stack while developing with `trunk serve`.
'-Clink-arg=-zstack-size=4194304', '-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',
]