Skip to content

Commit

Permalink
bundle arm features together
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Feb 21, 2024
1 parent 75755b9 commit ae95499
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ae95499

Please sign in to comment.