fix(build): scope Windows debug stack

Apply /STACK only to the debug app binary instead of every Windows target artifact.
This commit is contained in:
Hakan Seven committed 2026-08-17 22:46:50 +03:00
1 parent fcffa13693
commit f9e7afdee2
2 files changed
+7 -11

No files matched your search

-7
View File
@@ -18,10 +18,3 @@ 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',
]