Skip to content

Commit 8e73853

Browse files
committed
Auto merge of #75310 - petrochenkov:needwasm, r=Mark-Simulacrum
tests: Mark `ui/asm/bad-arch.rs` as requiring wasm llvm backend So it doesn't fail when not all LLVM backends are built.
2 parents f50f1c8 + bef1ee3 commit 8e73853

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/ui/asm/bad-arch.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// compile-flags: --target wasm32-unknown-unknown
2+
// needs-llvm-components: webassembly
23

34
#![feature(no_core, lang_items, rustc_attrs)]
45
#![no_core]

src/test/ui/asm/bad-arch.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0472]: asm! is unsupported on this target
2-
--> $DIR/bad-arch.rs:15:9
2+
--> $DIR/bad-arch.rs:16:9
33
|
44
LL | asm!("");
55
| ^^^^^^^^^

0 commit comments

Comments
 (0)