tests: Mark ui/asm/bad-arch.rs as requiring wasm llvm backend

This commit is contained in:
Vadim Petrochenkov 2020-08-09 01:09:23 +03:00
parent f50f1c8e17
commit bef1ee3857
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!("");
| ^^^^^^^^^