summaryrefslogtreecommitdiff
path: root/.cargo/config
blob: 0c5791d5f0eac857ddc7039d9af8ad9ea5f2c8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.'cfg(all(windows, debug_assertions))']
rustflags = [
  "-C",
  "target-feature=+crt-static",
  "-C",
  # double the stack size to prevent swc overflowing the stack in debug
  "link-arg=/STACK:2097152",
]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]