Skip to content

Commit 2438cfc

Browse files
committed
Fix usage of wasm_target_feature
1 parent d5a448b commit 2438cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_typeck/collect.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,7 @@ fn from_target_feature(
19251925
Some("mmx_target_feature") => rust_features.mmx_target_feature,
19261926
Some("sse4a_target_feature") => rust_features.sse4a_target_feature,
19271927
Some("tbm_target_feature") => rust_features.tbm_target_feature,
1928+
Some("wasm_target_feature") => rust_features.wasm_target_feature,
19281929
Some(name) => bug!("unknown target feature gate {}", name),
19291930
None => true,
19301931
};

0 commit comments

Comments
 (0)