diff --git a/crates/core_arch/src/arm/mod.rs b/crates/core_arch/src/arm/mod.rs index fd27ac14dd..217906c78d 100644 --- a/crates/core_arch/src/arm/mod.rs +++ b/crates/core_arch/src/arm/mod.rs @@ -7,13 +7,13 @@ //! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics // Supported arches: 6, 7-M. See Section 10.1 of ACLE (e.g. SSAT) -// -// Commented out since this is an empty module. Uncomment when implementing it. -//#[cfg(any(target_feature = "v6", doc))] -//mod sat; -// -//#[cfg(any(target_feature = "v6", doc))] -//pub use self::sat::*; +#[cfg(any(target_feature = "v6", doc))] +mod sat; + +#[cfg(any(target_feature = "v6", doc))] +// Remove warning because this module is currently empty. +#[allow(unused_imports)] +pub use self::sat::*; // Supported arches: 5TE, 7E-M. See Section 10.1 of ACLE (e.g. QADD) // We also include the A profile even though DSP is deprecated on that profile as of ACLE 2.0 (see diff --git a/crates/core_arch/src/lib.rs b/crates/core_arch/src/lib.rs index 155363b892..ed301e208a 100644 --- a/crates/core_arch/src/lib.rs +++ b/crates/core_arch/src/lib.rs @@ -74,6 +74,7 @@ mod core_arch; #[stable(feature = "stdsimd", since = "1.27.0")] pub mod arch { #[stable(feature = "stdsimd", since = "1.27.0")] + #[allow(unused_imports)] pub use crate::core_arch::arch::*; #[stable(feature = "stdsimd", since = "1.27.0")] pub use core::arch::asm;