1
Fork 0

Refactor and fill out target feature lists

This commit is contained in:
Caleb Zulawski 2024-08-02 00:20:49 -04:00
parent 3c48f6548b
commit fbd618d4aa
5 changed files with 293 additions and 360 deletions

View file

@ -486,7 +486,7 @@ pub fn target_features(
sess.target
.supported_target_features()
.iter()
.filter_map(|&(feature, gate)| {
.filter_map(|&(feature, gate, _)| {
if sess.is_nightly_build() || allow_unstable || gate.is_stable() {
Some(feature)
} else {