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
|
2023-01-04 18:54:54 -05:00
|
|
|
"link-arg=/STACK:3145728",
|
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",
|
|
|
|
]
|