mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
63 lines
931 B
TOML
63 lines
931 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.aarch64-pc-windows-msvc]
|
|
rustflags = [
|
|
"-Z",
|
|
"new-llvm-pass-manager=no",
|
|
]
|
|
|
|
[target.wasm32-unknown-unknown]
|
|
rustflags = [
|
|
"-Z",
|
|
"new-llvm-pass-manager=no",
|
|
]
|