allow_internal_unstable requires feature names

Closes #681 .
This commit is contained in:
gnzlbg 2019-02-13 16:06:45 +01:00 committed by gnzlbg
parent 333784b5ef
commit fe06593c6f
7 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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") ||

View file

@ -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") ||

View file

@ -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") ||

View file

@ -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") ||

View file

@ -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") ||

View file

@ -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(