Attempt 2 to fix release (#12856)

This commit is contained in:
pakrym-oai
2026-02-25 19:12:19 -08:00
committed by GitHub
parent ea621ae152
commit b65205fb3d
2 changed files with 7 additions and 3 deletions

View File

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