swc/.cargo/config.toml

44 lines
966 B
TOML
Raw Normal View History

[build]
rustdocflags = ["--cfg", "docsrs"]
rustflags = ["-Z", "share-generics=y"]
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+sse2", "-Z", "share-generics=y"]
[target.aarch64-apple-darwin]
rustflags = ["-Z", "share-generics=y"]
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
rustflags = ["-Z", "share-generics=y"]
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",
"-Z",
"share-generics=y",
]
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
rustflags = ["-Z", "share-generics=y"]
[target.aarch64-linux-android]
rustflags = ["-Z", "share-generics=y"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
[target.aarch64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-Z", "share-generics=y"]
[target.wasm32-unknown-unknown]
rustflags = ["-Z", "share-generics=y"]