Skip to content

Commit 8cb6688

Browse files
Remove requirement on neon feature for arm (#893)
1 parent d89c38b commit 8cb6688

File tree

1 file changed

+2
-12
lines changed
  • crates/core_arch/src/arm

1 file changed

+2
-12
lines changed

crates/core_arch/src/arm/mod.rs

+2-12
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,9 @@ mod v7;
1919
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
2020
pub use self::v7::*;
2121

22-
// NEON is supported on AArch64, and on ARM when built with the v7 and neon
23-
// features. Building ARM without neon produces incorrect codegen.
24-
#[cfg(any(
25-
target_arch = "aarch64",
26-
all(target_feature = "v7", target_feature = "neon"),
27-
dox
28-
))]
22+
#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))]
2923
mod neon;
30-
#[cfg(any(
31-
target_arch = "aarch64",
32-
all(target_feature = "v7", target_feature = "neon"),
33-
dox
34-
))]
24+
#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))]
3525
pub use self::neon::*;
3626

3727
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]

0 commit comments

Comments
 (0)