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