diff options
| author | gnzlbg <gonzalobg88@gmail.com> | 2019-02-13 16:06:45 +0100 |
|---|---|---|
| committer | gnzlbg <gnzlbg@users.noreply.github.com> | 2019-02-13 17:34:33 +0100 |
| commit | fe06593c6fcbacc92e99fcd94a3b8aba5a2ffb37 (patch) | |
| tree | ea56c7c8d94d62b6e6fd761c509c3fd6afba9e51 /library/stdarch/crates/std_detect | |
| parent | 333784b5efe8fd0ef7b16cc374af900d1ae521ba (diff) | |
| download | rust-fe06593c6fcbacc92e99fcd94a3b8aba5a2ffb37.tar.gz rust-fe06593c6fcbacc92e99fcd94a3b8aba5a2ffb37.zip | |
allow_internal_unstable requires feature names
Closes #681 .
Diffstat (limited to 'library/stdarch/crates/std_detect')
7 files changed, 7 insertions, 7 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs b/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs index 7571dfbfec3..3270641eb34 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_aarch64_feature_detected { ("neon") => { // FIXME: this should be removed once we rename Aarch64 neon to asimd diff --git a/library/stdarch/crates/std_detect/src/detect/arch/arm.rs b/library/stdarch/crates/std_detect/src/detect/arch/arm.rs index 5f91c9269ad..ebed1f757e3 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/arm.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_arm_feature_detected { ("neon") => { cfg!(target_feature = "neon") || diff --git a/library/stdarch/crates/std_detect/src/detect/arch/mips.rs b/library/stdarch/crates/std_detect/src/detect/arch/mips.rs index 58e3ee6d204..969d6d05dc5 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/mips.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_mips_feature_detected { ("msa") => { cfg!(target_feature = "msa") || diff --git a/library/stdarch/crates/std_detect/src/detect/arch/mips64.rs b/library/stdarch/crates/std_detect/src/detect/arch/mips64.rs index aa42c0e55df..d421595c9cd 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/mips64.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_mips64_feature_detected { ("msa") => { cfg!(target_feature = "msa") || diff --git a/library/stdarch/crates/std_detect/src/detect/arch/powerpc.rs b/library/stdarch/crates/std_detect/src/detect/arch/powerpc.rs index 8270e5bee46..9d65437e0ba 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/powerpc.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_powerpc_feature_detected { ("altivec") => { cfg!(target_feature = "altivec") || diff --git a/library/stdarch/crates/std_detect/src/detect/arch/powerpc64.rs b/library/stdarch/crates/std_detect/src/detect/arch/powerpc64.rs index 2f754713650..4514100907c 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/powerpc64.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_powerpc64_feature_detected { ("altivec") => { cfg!(target_feature = "altivec") || diff --git a/library/stdarch/crates/std_detect/src/detect/arch/x86.rs b/library/stdarch/crates/std_detect/src/detect/arch/x86.rs index 5425aeecd0c..953bf29d680 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/x86.rs +++ b/library/stdarch/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] +#[allow_internal_unstable(stdsimd_internal)] macro_rules! is_x86_feature_detected { ("aes") => { cfg!(target_feature = "aes") || $crate::detect::check_for( |
