Skip to content

Commit 25d016f

Browse files
Auto merge of #148969 - Zalathar:wasm32-uwu, r=<try>
Don't apply "emscripten" directives to `wasm32-unknown-unknown` try-job: test-various try-job: dist-various-1
2 parents 733108b + 7da96cf commit 25d016f

File tree

1 file changed

+1
-6
lines changed
  • src/tools/compiletest/src/directives

1 file changed

+1
-6
lines changed

src/tools/compiletest/src/directives/cfg.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,7 @@ fn parse_cfg_name_directive<'a>(
112112
message: "when the target is {name}"
113113
}
114114
condition! {
115-
name: &[
116-
Some(&*target_cfg.os),
117-
// If something is ignored for emscripten, it likely also needs to be
118-
// ignored for wasm32-unknown-unknown.
119-
(config.target == "wasm32-unknown-unknown").then_some("emscripten"),
120-
],
115+
name: &target_cfg.os,
121116
allowed_names: &target_cfgs.all_oses,
122117
message: "when the operating system is {name}"
123118
}

0 commit comments

Comments
 (0)