mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
67 lines
1004 B
TOML
67 lines
1004 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",
|
|
]
|