Skip to content

Commit f91d45f

Browse files
committed
Move arm/crc module to acle/crc as it is shared between ARM and AArch64
1 parent 8c6fdc5 commit f91d45f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
File renamed without changes.

crates/core_arch/src/acle/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ mod simd32;
119119
))]
120120
pub use self::simd32::*;
121121

122+
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
123+
pub mod crc;
124+
122125
mod sealed {
123126
pub trait Dmb {
124127
unsafe fn __dmb(&self);

crates/core_arch/src/arm/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ mod neon;
2525
pub use self::neon::*;
2626

2727
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
28-
mod crc;
29-
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
30-
pub use self::crc::*;
28+
pub use crate::core_arch::acle::crc::*;
3129

3230
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
3331
mod crypto;

0 commit comments

Comments
 (0)