We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
without cfg check
std_detect
1 parent 21300c2 commit 91c0dabCopy full SHA for 91c0dab
library/stdarch/crates/std_detect/src/detect/macros.rs
@@ -23,9 +23,8 @@ macro_rules! check_cfg_feature {
23
$(cfg!(target_feature = $target_feature_lit);)*
24
};
25
($feature:tt, $feature_lit:tt, without cfg check: $feature_cfg_check:literal) => {
26
- // FIXME: Enable once rust-lang/rust#132577 hit's nightly
27
- // #[expect(unexpected_cfgs, reason = $feature_lit)]
28
- // { cfg!(target_feature = $feature_lit) }
+ #[expect(unexpected_cfgs, reason = $feature_lit)]
+ { cfg!(target_feature = $feature_lit) }
29
30
}
31
0 commit comments