1
Fork 0

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:
bors 2020-08-09 08:52:53 +00:00
commit 8e738539be
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
// compile-flags: --target wasm32-unknown-unknown
// needs-llvm-components: webassembly
#![feature(no_core, lang_items, rustc_attrs)]
#![no_core]

View file

@ -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!("");
| ^^^^^^^^^