Fix usage of wasm_target_feature

This commit is contained in:
Alex Crichton 2018-08-13 18:03:06 -07:00
parent d5a448b3f4
commit 2438cfc755

View File

@ -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,
};