swc/.cargo/config.toml
2022-07-23 13:54:39 +00:00

41 lines
914 B
TOML

[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"]
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = [
"-C",
"target-feature=-crt-static",
"-C",
"link-arg=-lgcc",
"-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"]