From 63af5f371c108400e2d7d8711f01e126c6a32dfb Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Sun, 6 Sep 2020 20:47:04 -0400 Subject: [PATCH] Remove requirement on neon feature for arm (#893) --- library/stdarch/crates/core_arch/src/arm/mod.rs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/library/stdarch/crates/core_arch/src/arm/mod.rs b/library/stdarch/crates/core_arch/src/arm/mod.rs index bd902dc6079b..ff983b34b844 100644 --- a/library/stdarch/crates/core_arch/src/arm/mod.rs +++ b/library/stdarch/crates/core_arch/src/arm/mod.rs @@ -19,19 +19,9 @@ mod v7; #[cfg(any(target_arch = "aarch64", target_feature = "v7"))] pub use self::v7::*; -// NEON is supported on AArch64, and on ARM when built with the v7 and neon -// features. Building ARM without neon produces incorrect codegen. -#[cfg(any( - target_arch = "aarch64", - all(target_feature = "v7", target_feature = "neon"), - dox -))] +#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))] mod neon; -#[cfg(any( - target_arch = "aarch64", - all(target_feature = "v7", target_feature = "neon"), - dox -))] +#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))] pub use self::neon::*; #[cfg(any(target_arch = "aarch64", target_feature = "v7"))]