mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
41 lines
944 B
TOML
41 lines
944 B
TOML
|
|
[build]
|
|
|
|
rustdocflags = ["--cfg", "docsrs"]
|
|
rustflags = ["-C", "target-feature=+sse2", "-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"]
|