Skip to content

Commit

Permalink
Fix usage of wasm_target_feature
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Aug 14, 2018
1 parent d5a448b commit 2438cfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,7 @@ fn from_target_feature(
Some("mmx_target_feature") => rust_features.mmx_target_feature,
Some("sse4a_target_feature") => rust_features.sse4a_target_feature,
Some("tbm_target_feature") => rust_features.tbm_target_feature,
Some("wasm_target_feature") => rust_features.wasm_target_feature,
Some(name) => bug!("unknown target feature gate {}", name),
None => true,
};
Expand Down

0 comments on commit 2438cfc

Please sign in to comment.