1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

refac: update target archs

This commit is contained in:
Kevin Amado 2024-11-03 18:00:27 -07:00
parent 3656ff043a
commit b2bddc1a79
2 changed files with 10 additions and 8 deletions

View file

@ -6,11 +6,7 @@ rowan = "0.12.6" # follows rnix
default-features = false default-features = false
version = "0" version = "0"
[target.armv6l-unknown-linux-musleabihf.dependencies.mimalloc] [target.arm-unknown-linux-musleabihf.dependencies.mimalloc]
default-features = false
version = "0"
[target.armv7l-unknown-linux-musleabihf.dependencies.mimalloc]
default-features = false default-features = false
version = "0" version = "0"

View file

@ -13,24 +13,30 @@
#![deny(rustdoc::private_doc_tests)] #![deny(rustdoc::private_doc_tests)]
#[cfg(any( #[cfg(any(
// aarch64-unknown-linux-musl
all( all(
target_arch = "aarch64", target_arch = "aarch64",
target_vendor = "unknown", target_vendor = "unknown",
target_os = "linux", target_os = "linux",
target_env = "musl" target_env = "musl"
), ),
// arm-unknown-linux-musleabihf
all( all(
any(target_arch = "armv6l", target_arch = "armv7l",), target_arch = "arm",
target_vendor = "unknown", target_vendor = "unknown",
target_os = "linux", target_os = "linux",
target_env = "musleabihf" target_env = "musl",
target_abi = "eabihf"
), ),
// i686-unknown-linux-musl
all( all(
target_arch = "i686", target_arch = "x86",
target_vendor = "unknown", target_vendor = "unknown",
target_os = "linux", target_os = "linux",
target_env = "musl" target_env = "musl"
), ),
// x86_64-unknown-linux-gnu
// x86_64-unknown-linux-musl
all( all(
target_arch = "x86_64", target_arch = "x86_64",
target_vendor = "unknown", target_vendor = "unknown",