Skip to content

Commit

Permalink
Add missing f16c_target_feature check to typeck collect
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Apr 30, 2019
1 parent f843ad6 commit 076241e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_typeck/collect.rs
Expand Up @@ -2450,6 +2450,7 @@ fn from_target_feature(
Some("adx_target_feature") => rust_features.adx_target_feature,
Some("movbe_target_feature") => rust_features.movbe_target_feature,
Some("rtm_target_feature") => rust_features.rtm_target_feature,
Some("f16c_target_feature") => rust_features.f16c_target_feature,
Some(name) => bug!("unknown target feature gate {}", name),
None => true,
};
Expand Down

0 comments on commit 076241e

Please sign in to comment.