We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wasm32-unknown-unknown
1 parent 518b428 commit 31902f3Copy full SHA for 31902f3
src/doc/rustc-dev-guide/src/tests/directives.md
@@ -141,7 +141,6 @@ Some examples of `X` in `ignore-X` or `only-X`:
141
- OS: `android`, `emscripten`, `freebsd`, `ios`, `linux`, `macos`, `windows`,
142
...
143
- Environment (fourth word of the target triple): `gnu`, `msvc`, `musl`
144
-- WASM: `wasm32-bare` matches `wasm32-unknown-unknown`.
145
- Pointer width: `32bit`, `64bit`
146
- Endianness: `endian-big`
147
- Stage: `stage1`, `stage2`
src/tools/compiletest/src/directives/cfg.rs
@@ -147,14 +147,6 @@ fn parse_cfg_name_directive<'a>(
message: "when the target family is {name}"
148
}
149
150
- // `wasm32-bare` is an alias to refer to just wasm32-unknown-unknown
151
- // (in contrast to `wasm32` which also matches non-bare targets)
152
- condition! {
153
- name: "wasm32-bare",
154
- condition: config.target == "wasm32-unknown-unknown",
155
- message: "when the target is WASM"
156
- }
157
-
158
condition! {
159
name: "thumb",
160
condition: config.target.starts_with("thumb"),
src/tools/compiletest/src/directives/directive_names.rs
@@ -125,7 +125,7 @@ pub(crate) const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
125
"ignore-wasi",
126
"ignore-wasm",
127
"ignore-wasm32",
128
- "ignore-wasm32-bare",
+ "ignore-wasm32-unknown-unknown",
129
"ignore-wasm64",
130
"ignore-watchos",
131
"ignore-windows",
@@ -240,7 +240,7 @@ pub(crate) const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
240
"only-unix",
241
"only-visionos",
242
"only-wasm32",
243
- "only-wasm32-bare",
+ "only-wasm32-unknown-unknown",
244
"only-wasm32-wasip1",
245
"only-watchos",
246
"only-windows",
src/tools/compiletest/src/directives/tests.rs
@@ -710,18 +710,14 @@ fn wasm_special() {
710
let ignores = [
711
("wasm32-unknown-unknown", "emscripten", false),
712
("wasm32-unknown-unknown", "wasm32", true),
713
- ("wasm32-unknown-unknown", "wasm32-bare", true),
714
("wasm32-unknown-unknown", "wasm64", false),
715
("wasm32-unknown-emscripten", "emscripten", true),
716
("wasm32-unknown-emscripten", "wasm32", true),
717
- ("wasm32-unknown-emscripten", "wasm32-bare", false),
718
("wasm32-wasip1", "emscripten", false),
719
("wasm32-wasip1", "wasm32", true),
720
- ("wasm32-wasip1", "wasm32-bare", false),
721
("wasm32-wasip1", "wasi", true),
722
("wasm64-unknown-unknown", "emscripten", false),
723
("wasm64-unknown-unknown", "wasm32", false),
724
- ("wasm64-unknown-unknown", "wasm32-bare", false),
725
("wasm64-unknown-unknown", "wasm64", true),
726
];
727
for (target, pattern, ignore) in ignores {
tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect.rs
@@ -3,7 +3,7 @@
3
//@ ignore-apple slightly different policy on stack protection of arrays
4
//@ ignore-msvc stack check code uses different function names
5
//@ ignore-nvptx64 stack protector is not supported
6
-//@ ignore-wasm32-bare
+//@ ignore-wasm32-unknown-unknown
7
//@ [all] compile-flags: -Z stack-protector=all
8
//@ [strong] compile-flags: -Z stack-protector=strong
9
//@ [basic] compile-flags: -Z stack-protector=basic
tests/run-make/wasm-exceptions-nostd/rmake.rs
@@ -1,4 +1,4 @@
1
-//@ only-wasm32-bare
+//@ only-wasm32-unknown-unknown
2
use std::path::Path;
0 commit comments