2020-03-23 15:28:18 -04:00
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
2022-03-13 12:35:02 -04:00
|
|
|
|
2022-03-21 09:30:43 -04:00
|
|
|
[target.'cfg(all(windows, debug_assertions))']
|
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=+crt-static",
|
|
|
|
"-C",
|
2023-06-14 18:29:19 -04:00
|
|
|
# increase the stack size to prevent overflowing the
|
|
|
|
# stack in debug when launching sub commands
|
|
|
|
"link-arg=/STACK:4194304",
|
2022-03-21 09:30:43 -04:00
|
|
|
]
|
|
|
|
|
2023-12-08 19:19:16 -05:00
|
|
|
[target.x86_64-apple-darwin]
|
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"link-args=-weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
|
|
|
|
]
|
|
|
|
|
2022-03-13 12:35:02 -04:00
|
|
|
[target.aarch64-apple-darwin]
|
2023-12-08 19:19:16 -05:00
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"link-args=-fuse-ld=lld -weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
|
|
|
|
]
|
2022-08-11 09:43:27 -04:00
|
|
|
|
|
|
|
[target.'cfg(all())']
|
|
|
|
rustflags = [
|
|
|
|
"-D",
|
|
|
|
"clippy::all",
|
|
|
|
"-D",
|
|
|
|
"clippy::await_holding_refcell_ref",
|
|
|
|
"-D",
|
|
|
|
"clippy::missing_safety_doc",
|
|
|
|
"-D",
|
|
|
|
"clippy::undocumented_unsafe_blocks",
|
2023-06-09 07:52:51 -04:00
|
|
|
"--cfg",
|
|
|
|
"tokio_unstable",
|
2022-08-11 09:43:27 -04:00
|
|
|
]
|