Skip to content

Commit bd42df8

Browse files
committed
move arm::test_support to acle::test_support
As suggested in the PR comment.
1 parent e8956b7 commit bd42df8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

crates/core_arch/src/aarch64/neon/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ pub unsafe fn vsriq_n_p16<const N: i32>(a: poly16x8_t, b: poly16x8_t) -> poly16x
28122812
#[cfg(test)]
28132813
mod tests {
28142814
use crate::core_arch::aarch64::test_support::*;
2815-
use crate::core_arch::arm::test_support::*;
2815+
use crate::core_arch::acle::test_support::*;
28162816
use crate::core_arch::{aarch64::neon::*, aarch64::*, simd::*};
28172817
use std::mem::transmute;
28182818
use stdarch_test::simd_test;

crates/core_arch/src/acle/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ pub(crate) mod neon;
8383
#[cfg(any(target_arch = "aarch64", target_feature = "v7", doc))]
8484
pub use self::neon::*;
8585

86+
#[cfg(test)]
87+
#[cfg(any(target_arch = "aarch64", target_feature = "v7", doc))]
88+
pub(crate) mod test_support;
89+
8690
mod sealed {
8791
pub trait Dmb {
8892
unsafe fn __dmb(&self);

crates/core_arch/src/acle/neon/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4275,7 +4275,7 @@ mod tests {
42754275
use super::*;
42764276
#[cfg(target_arch = "aarch64")]
42774277
use crate::core_arch::aarch64::*;
4278-
use crate::core_arch::arm::test_support::*;
4278+
use crate::core_arch::acle::test_support::*;
42794279
#[cfg(target_arch = "arm")]
42804280
use crate::core_arch::arm::*;
42814281
use crate::core_arch::simd::*;

crates/core_arch/src/arm/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,3 @@ pub use neon::*;
8585
pub unsafe fn udf() -> ! {
8686
crate::intrinsics::abort()
8787
}
88-
89-
#[cfg(test)]
90-
#[cfg(any(target_feature = "v7", doc))]
91-
pub(crate) mod test_support;

0 commit comments

Comments
 (0)