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",
|
2022-04-15 09:39:41 -04:00
|
|
|
# increase the stack size to prevent swc overflowing the stack in debug
|
2022-08-25 20:24:18 -04:00
|
|
|
"link-arg=/STACK:2097152",
|
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",
|
2022-08-21 13:31:14 -04:00
|
|
|
"-A",
|
|
|
|
"clippy::derive-partial-eq-without-eq",
|
2022-08-11 09:43:27 -04:00
|
|
|
]
|