Skip to content

Commit 1aa5257

Browse files
committed
Fix tests with the bootstrap compiler
1 parent baa7045 commit 1aa5257

File tree

1 file changed

+6
-0
lines changed
  • src/tools/compiletest/src/header

1 file changed

+6
-0
lines changed

src/tools/compiletest/src/header/tests.rs

+6
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,15 @@ fn wasm_special() {
526526
("wasm32-wasi", "wasm32", true),
527527
("wasm32-wasi", "wasm32-bare", false),
528528
("wasm32-wasi", "wasi", true),
529+
// NB: the wasm32-wasi-preview1 target is new so this isn't tested for
530+
// the bootstrap compiler.
531+
#[cfg(not(bootstrap))]
529532
("wasm32-wasi-preview1", "emscripten", false),
533+
#[cfg(not(bootstrap))]
530534
("wasm32-wasi-preview1", "wasm32", true),
535+
#[cfg(not(bootstrap))]
531536
("wasm32-wasi-preview1", "wasm32-bare", false),
537+
#[cfg(not(bootstrap))]
532538
("wasm32-wasi-preview1", "wasi", true),
533539
("wasm64-unknown-unknown", "emscripten", false),
534540
("wasm64-unknown-unknown", "wasm32", false),

0 commit comments

Comments
 (0)