Skip to content

Commit d7c0e43

Browse files
UrgauAmanieu
authored andcommitted
Enable without cfg check test in std_detect
1 parent 96c4cc7 commit d7c0e43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/std_detect/src/detect/macros.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ macro_rules! check_cfg_feature {
2323
$(cfg!(target_feature = $target_feature_lit);)*
2424
};
2525
($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) }
26+
#[expect(unexpected_cfgs, reason = $feature_lit)]
27+
{ cfg!(target_feature = $feature_lit) }
2928
};
3029
}
3130

0 commit comments

Comments
 (0)