]> git.lizzy.rs Git - rust.git/commitdiff
Fix usage of `wasm_target_feature`
authorAlex Crichton <alex@alexcrichton.com>
Tue, 14 Aug 2018 01:03:06 +0000 (18:03 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 14 Aug 2018 01:03:06 +0000 (18:03 -0700)
src/librustc_typeck/collect.rs

index 77b02d9ff5bce8e129460a0a34cecc977594acd1..02f431dccca6b4b9882ad657e25f88e40d3243b9 100644 (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,
             };