Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion crates/core_arch/src/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ pub mod arch {

/// Platform-specific intrinsics for the `x86_64` platform.
///
/// See the [module documentation](../index.html) for more details.
/// See the [module documentation](../index.html) for more details
/// and the [`x86`] module for common instrinsics.
#[cfg(any(target_arch = "x86_64", doc))]
#[doc(cfg(target_arch = "x86_64"))]
#[stable(feature = "simd_x86", since = "1.27.0")]
pub mod x86_64 {
#[stable(feature = "simd_x86", since = "1.27.0")]
#[doc(no_inline)]
#[cfg(doc)]
pub use super::x86::*;
#[stable(feature = "simd_x86", since = "1.27.0")]
#[cfg(not(doc))]
pub use crate::core_arch::x86::*;
#[stable(feature = "simd_x86", since = "1.27.0")]
pub use crate::core_arch::x86_64::*;
Expand Down