Ignore WASM on asm tests

This commit is contained in:
varkor 2019-03-02 12:47:39 +00:00
parent 4aa5fd0806
commit 216bee499f
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,6 @@
// ignore-wasm
// ignore-emscripten
#![feature(asm)]
fn main() {

View File

@ -1,5 +1,5 @@
error: couldn't allocate output register for constraint 'd'
--> $DIR/invalid-inline-asm-2.rs:7:9
--> $DIR/invalid-inline-asm-2.rs:10:9
|
LL | asm!("" : "=d"(a) : : : );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -1,3 +1,6 @@
// ignore-wasm
// ignore-emscripten
#![feature(asm)]
fn main() {

View File

@ -1,5 +1,5 @@
error: couldn't allocate input reg for constraint 'a'
--> $DIR/invalid-inline-asm.rs:7:14
--> $DIR/invalid-inline-asm.rs:10:14
|
LL | unsafe { asm!("out %al, %dx" :: "a" (byte), "d" (port) :: "volatile"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^