diff options
Diffstat (limited to 'library/stdarch/crates/std_detect')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/macros.rs | 5 |
1 files changed, 2 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 38c8b8068fb..23b238d1bc2 100644 --- a/library/stdarch/crates/std_detect/src/detect/macros.rs +++ b/library/stdarch/crates/std_detect/src/detect/macros.rs @@ -23,9 +23,8 @@ macro_rules! check_cfg_feature { $(cfg!(target_feature = $target_feature_lit);)* }; ($feature:tt, $feature_lit:tt, without cfg check: $feature_cfg_check:literal) => { - // FIXME: Enable once rust-lang/rust#132577 hit's nightly - // #[expect(unexpected_cfgs, reason = $feature_lit)] - // { cfg!(target_feature = $feature_lit) } + #[expect(unexpected_cfgs, reason = $feature_lit)] + { cfg!(target_feature = $feature_lit) } }; } |
