mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
376665d115
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though.
28 lines
620 B
TOML
28 lines
620 B
TOML
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.'cfg(all(windows, debug_assertions))']
|
|
rustflags = [
|
|
"-C",
|
|
"target-feature=+crt-static",
|
|
"-C",
|
|
# increase the stack size to prevent swc overflowing the stack in debug
|
|
"link-arg=/STACK:2097152",
|
|
]
|
|
|
|
[target.aarch64-apple-darwin]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
|
|
[target.'cfg(all())']
|
|
rustflags = [
|
|
"-D",
|
|
"clippy::all",
|
|
"-D",
|
|
"clippy::await_holding_refcell_ref",
|
|
"-D",
|
|
"clippy::missing_safety_doc",
|
|
"-D",
|
|
"clippy::undocumented_unsafe_blocks",
|
|
"-A",
|
|
"clippy::derive-partial-eq-without-eq",
|
|
]
|