build: 8mb stacks on win (#5997)

#5981 seems to be fixing what's actually a call stack overflow, maybe
this will fix it without disabling a feature?
This commit is contained in:
Jeremy Rose
2025-10-30 16:12:50 -07:00
committed by GitHub
parent 87cce88f48
commit 11e5327770

View File

@@ -0,0 +1,5 @@
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "link-arg=/STACK:8388608"]
[target.'cfg(all(windows, target_env = "gnu"))']
rustflags = ["-C", "link-arg=-Wl,--stack,8388608"]