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
|
|
|
]
|
|
|
|
|
2022-03-13 12:35:02 -04:00
|
|
|
[target.aarch64-apple-darwin]
|
|
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
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
|
|
|
]
|