Skip to content

Commit

Permalink
tests: Mark ui/asm/bad-arch.rs as requiring wasm llvm backend
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Aug 9, 2020
1 parent f50f1c8 commit bef1ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/ui/asm/bad-arch.rs
@@ -1,4 +1,5 @@
// compile-flags: --target wasm32-unknown-unknown
// needs-llvm-components: webassembly

#![feature(no_core, lang_items, rustc_attrs)]
#![no_core]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/asm/bad-arch.stderr
@@ -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!("");
| ^^^^^^^^^
Expand Down

0 comments on commit bef1ee3

Please sign in to comment.