diff --git a/crates/core_arch/src/powerpc/mod.rs b/crates/core_arch/src/powerpc/mod.rs index 9765d11d1f..ea82e451fe 100644 --- a/crates/core_arch/src/powerpc/mod.rs +++ b/crates/core_arch/src/powerpc/mod.rs @@ -1,11 +1,12 @@ //! PowerPC intrinsics - -#[cfg(target_feature = "altivec")] +#[cfg(any(target_feature = "altivec", doc))] mod altivec; -#[cfg(target_feature = "altivec")] +#[cfg(any(target_feature = "altivec", doc))] pub use self::altivec::*; +#[cfg(any(target_feature = "vsx", doc))] mod vsx; +#[cfg(any(target_feature = "vsx", doc))] pub use self::vsx::*; #[cfg(test)]