diff --git a/crates/std_detect/src/detect/arch/aarch64.rs b/crates/std_detect/src/detect/arch/aarch64.rs index 3270641eb3..ebae2bd285 100644 --- a/crates/std_detect/src/detect/arch/aarch64.rs +++ b/crates/std_detect/src/detect/arch/aarch64.rs @@ -3,7 +3,7 @@ /// Checks if `aarch64` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_aarch64_feature_detected { ("neon") => { // FIXME: this should be removed once we rename Aarch64 neon to asimd diff --git a/crates/std_detect/src/detect/arch/arm.rs b/crates/std_detect/src/detect/arch/arm.rs index ebed1f757e..b2626bf292 100644 --- a/crates/std_detect/src/detect/arch/arm.rs +++ b/crates/std_detect/src/detect/arch/arm.rs @@ -3,7 +3,7 @@ /// Checks if `arm` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_arm_feature_detected { ("neon") => { cfg!(target_feature = "neon") || diff --git a/crates/std_detect/src/detect/arch/mips.rs b/crates/std_detect/src/detect/arch/mips.rs index 969d6d05dc..f4381b811c 100644 --- a/crates/std_detect/src/detect/arch/mips.rs +++ b/crates/std_detect/src/detect/arch/mips.rs @@ -3,7 +3,7 @@ /// Checks if `mips` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_mips_feature_detected { ("msa") => { cfg!(target_feature = "msa") || diff --git a/crates/std_detect/src/detect/arch/mips64.rs b/crates/std_detect/src/detect/arch/mips64.rs index d421595c9c..2663bc68ba 100644 --- a/crates/std_detect/src/detect/arch/mips64.rs +++ b/crates/std_detect/src/detect/arch/mips64.rs @@ -3,7 +3,7 @@ /// Checks if `mips64` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_mips64_feature_detected { ("msa") => { cfg!(target_feature = "msa") || diff --git a/crates/std_detect/src/detect/arch/powerpc.rs b/crates/std_detect/src/detect/arch/powerpc.rs index 9d65437e0b..a342dc1aac 100644 --- a/crates/std_detect/src/detect/arch/powerpc.rs +++ b/crates/std_detect/src/detect/arch/powerpc.rs @@ -3,7 +3,7 @@ /// Checks if `powerpc` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_powerpc_feature_detected { ("altivec") => { cfg!(target_feature = "altivec") || diff --git a/crates/std_detect/src/detect/arch/powerpc64.rs b/crates/std_detect/src/detect/arch/powerpc64.rs index 4514100907..2e82c56925 100644 --- a/crates/std_detect/src/detect/arch/powerpc64.rs +++ b/crates/std_detect/src/detect/arch/powerpc64.rs @@ -3,7 +3,7 @@ /// Checks if `powerpc64` feature is enabled. #[macro_export] #[unstable(feature = "stdsimd", issue = "27731")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_powerpc64_feature_detected { ("altivec") => { cfg!(target_feature = "altivec") || diff --git a/crates/std_detect/src/detect/arch/x86.rs b/crates/std_detect/src/detect/arch/x86.rs index 953bf29d68..6a3e11de3d 100644 --- a/crates/std_detect/src/detect/arch/x86.rs +++ b/crates/std_detect/src/detect/arch/x86.rs @@ -79,7 +79,7 @@ /// [docs]: https://software.intel.com/sites/landingpage/IntrinsicsGuide #[macro_export] #[stable(feature = "simd_x86", since = "1.27.0")] -#[allow_internal_unstable(stdsimd_internal)] +#[allow_internal_unstable(stdsimd_internal,stdsimd)] macro_rules! is_x86_feature_detected { ("aes") => { cfg!(target_feature = "aes") || $crate::detect::check_for(