Skip to content

Commit

Permalink
Auto merge of #75310 - petrochenkov:needwasm, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
tests: Mark `ui/asm/bad-arch.rs` as requiring wasm llvm backend

So it doesn't fail when not all LLVM backends are built.
  • Loading branch information
bors committed Aug 9, 2020
2 parents f50f1c8 + bef1ee3 commit 8e73853
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 8e73853

Please sign in to comment.