diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2023-05-04 12:01:06 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2023-10-29 20:39:50 +0100 |
| commit | 21599975ff748f6de91bfa7b16822bb93d4549d3 (patch) | |
| tree | b5dd6170c1b934d802371e0d601b75e5c1f36bee /library/stdarch/crates/std_detect/src/detect/macros.rs | |
| parent | 39c6d6af1371205b7e309ef4d5e77b5907d50f4c (diff) | |
| download | rust-21599975ff748f6de91bfa7b16822bb93d4549d3.tar.gz rust-21599975ff748f6de91bfa7b16822bb93d4549d3.zip | |
Add tracking issues for feature detection
Diffstat (limited to 'library/stdarch/crates/std_detect/src/detect/macros.rs')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/macros.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/macros.rs b/library/stdarch/crates/std_detect/src/detect/macros.rs index 45feec79fc9..d1bc990dd2c 100644 --- a/library/stdarch/crates/std_detect/src/detect/macros.rs +++ b/library/stdarch/crates/std_detect/src/detect/macros.rs @@ -1,5 +1,6 @@ #[macro_export] -#[allow_internal_unstable(stdsimd)] +#[allow_internal_unstable(stdarch_internal)] +#[unstable(feature = "stdarch_internal", issue = "none")] macro_rules! detect_feature { ($feature:tt, $feature_lit:tt) => { $crate::detect_feature!($feature, $feature_lit : $feature_lit) @@ -25,7 +26,7 @@ macro_rules! features { ) => { #[macro_export] $(#[$macro_attrs])* - #[allow_internal_unstable(stdsimd_internal, stdsimd)] + #[allow_internal_unstable(stdarch_internal, stdsimd)] #[cfg($cfg)] #[doc(cfg($cfg))] macro_rules! $macro_name { @@ -120,7 +121,7 @@ macro_rules! features { #[allow(non_camel_case_types)] #[derive(Copy, Clone)] #[repr(u8)] - #[unstable(feature = "stdsimd_internal", issue = "none")] + #[unstable(feature = "stdarch_internal", issue = "none")] #[cfg($cfg)] pub(crate) enum Feature { $( @@ -157,6 +158,7 @@ macro_rules! features { /// to change. #[doc(hidden)] #[cfg($cfg)] + #[unstable(feature = "stdarch_internal", issue = "none")] pub mod __is_feature_detected { $( |
