swc/.cargo/config.toml

41 lines
914 B
TOML
Raw Normal View History

[build]
rustdocflags = ["--cfg", "docsrs"]
rustflags = ["-Z", "new-llvm-pass-manager=no"]
[target.aarch64-apple-darwin]
rustflags = ["-Z", "new-llvm-pass-manager=no"]
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
rustflags = ["-Z", "new-llvm-pass-manager=no"]
2021-11-30 02:34:20 +03:00
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = [
"-C",
"target-feature=-crt-static",
"-C",
"link-arg=-lgcc",
2021-11-30 03:26:27 +03:00
"-Z",
"new-llvm-pass-manager=no",
]
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
rustflags = ["-Z", "new-llvm-pass-manager=no"]
[target.aarch64-linux-android]
rustflags = ["-Z", "new-llvm-pass-manager=no"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
[target.aarch64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-Z", "new-llvm-pass-manager=no"]
[target.wasm32-unknown-unknown]
rustflags = ["-Z", "new-llvm-pass-manager=no"]