From ae954998fb705e80df184748e580c73b3a71be7a Mon Sep 17 00:00:00 2001 From: jvdd Date: Wed, 21 Feb 2024 14:07:42 +0100 Subject: [PATCH] bundle arm features together --- src/lib.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 59662d6..4d81a60 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -78,13 +78,14 @@ ), cfg_attr(version("1.78"), feature(stdarch_x86_avx512)) )] +// TODO: Aarch64 is stable now - check if this is under nightly_simd https://github.com/rust-lang/rust/issues/111800 #![cfg_attr( all(feature = "nightly_simd", target_arch = "arm"), - cfg_attr(version("1.78"), feature(stdarch_arm_neon_intrinsics)) // TODO: Aarch64 is stable now - check if this is under nightly_simd https://github.com/rust-lang/rust/issues/111800 -)] -#![cfg_attr( - all(feature = "nightly_simd", target_arch = "arm"), - cfg_attr(version("1.78"), feature(stdarch_arm_feature_detection)) + cfg_attr( + version("1.78"), + feature(stdarch_arm_neon_intrinsics), + feature(stdarch_arm_feature_detection) + ) )] // ------- version 1.77 and below #![cfg_attr(