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.
This commit is contained in:
commit
8e738539be
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
// compile-flags: --target wasm32-unknown-unknown
|
||||
// needs-llvm-components: webassembly
|
||||
|
||||
#![feature(no_core, lang_items, rustc_attrs)]
|
||||
#![no_core]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error[E0472]: asm! is unsupported on this target
|
||||
--> $DIR/bad-arch.rs:15:9
|
||||
--> $DIR/bad-arch.rs:16:9
|
||||
|
|
||||
LL | asm!("");
|
||||
| ^^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue