Skip to content

Commit 4da3829

Browse files
committed
looks like the asm macro is stable :D
1 parent d8f7b83 commit 4da3829

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test-cargo-miri/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(asm)]
2-
31
use std::env;
42

53
#[cfg(miri)]
@@ -9,7 +7,7 @@ fn not_in_miri() -> i32 {
97
// Inline assembly definitely does not work in Miri.
108
let mut dummy = 42;
119
unsafe {
12-
asm!("/* {} */", in(reg) &mut dummy);
10+
std::arch::asm!("/* {} */", in(reg) &mut dummy);
1311
}
1412
return dummy;
1513
}

0 commit comments

Comments
 (0)