fix(build): increase Windows debug stack
Increase the Windows debug executable stack reserve to prevent startup overflow.
This commit is contained in:
parent
04b9363666
commit
fcffa13693
1 changed files with 7 additions and 0 deletions
|
|
@ -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',
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue