mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 21:54:36 +03:00
899021e440
**Description:** This PR disables SIMD for all hosts because wasmer cache is not portable.
37 lines
734 B
TOML
37 lines
734 B
TOML
|
|
[build]
|
|
|
|
rustdocflags = ["--cfg", "docsrs"]
|
|
rustflags = []
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
rustflags = ["-C", "target-feature=+sse2"]
|
|
|
|
[target.aarch64-apple-darwin]
|
|
rustflags = []
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "aarch64-linux-gnu-gcc"
|
|
rustflags = []
|
|
|
|
[target.aarch64-unknown-linux-musl]
|
|
linker = "aarch64-linux-musl-gcc"
|
|
rustflags = ["-C", "target-feature=-crt-static", "-C", "link-arg=-lgcc"]
|
|
|
|
[target.armv7-unknown-linux-gnueabihf]
|
|
linker = "arm-linux-gnueabihf-gcc"
|
|
rustflags = []
|
|
|
|
[target.aarch64-linux-android]
|
|
rustflags = []
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
linker = "rust-lld"
|
|
|
|
[target.aarch64-pc-windows-msvc]
|
|
linker = "rust-lld"
|
|
rustflags = []
|
|
|
|
[target.wasm32-unknown-unknown]
|
|
rustflags = []
|