Activate checking code for ASM feature gate. Fix tests
This commit is contained in:
parent
ece5028a8b
commit
c4bcf7714b
9 changed files with 21 additions and 8 deletions
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-test
|
||||
|
||||
fn main() {
|
||||
unsafe {
|
||||
asm!(""); //~ ERROR inline assembly is not stable enough
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
#[feature(asm)];
|
||||
|
||||
fn foo(x: int) { info2!("{}", x); }
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
#[feature(asm)];
|
||||
|
||||
fn foo(x: int) { info2!("{}", x); }
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
#[feature(asm)];
|
||||
|
||||
fn foo(x: int) { info2!("{}", x); }
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
#[feature(asm)];
|
||||
|
||||
fn foo(x: int) { info2!("{}", x); }
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
|
|
|||
|
|
@ -8,8 +8,11 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
// pp-exact
|
||||
|
||||
#[feature(asm)];
|
||||
|
||||
#[cfg = r#"just parse this"#]
|
||||
extern mod blah = r##"blah"##;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-fast #[feature] doesn't work with check-fast
|
||||
#[feature(asm)];
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue