Unverified Commit 77ade436 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

double default stack size (#61781)

### Why?

Some packages require larger stack to compile correctly

Native build: https://github.com/vercel/next.js/actions/runs/7818270269


Closes PACK-2433

---------
Co-authored-by: 's avatarOJ Kwon <1210596+kwonoj@users.noreply.github.com>
parent 13af19a5
......@@ -7,9 +7,15 @@ rustdocflags = []
[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-C", "target-feature=+crt-static"]
rustflags = [
"-C", "target-feature=+crt-static",
"-C", "link-args=-Wl,-zstack-size=4194304",
]
[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
rustflags = [
"-C", "target-feature=+crt-static",
"-C", "link-args=-Wl,-zstack-size=4194304",
]
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
......@@ -20,6 +26,7 @@ rustflags = [
"--cfg",
"tokio_unstable",
"-Zshare-generics=y",
"-C", "link-args=-Wl,-zstack-size=4194304",
"-Csymbol-mangling-version=v0",
"-Ctarget-feature=-crt-static",
"-Clink-arg=-lgcc",
......@@ -28,6 +35,11 @@ rustflags = [
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.'any(not(target.wasm32-unknown-unknown), not(wasm32-wasi-preview1-threads))']
rustflags = [
"-C", "link-args=-Wl,-zstack-size=4194304",
]
[target.'cfg(all())']
rustflags = [
"--cfg",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment