aarch inline asm is not stable yet

This commit is contained in:
Ralf Jung 2022-07-21 10:48:41 -04:00
parent b1b368c30e
commit 5e4b646457

View File

@ -7,7 +7,11 @@ fn simple() {
#[test]
#[cfg_attr(miri, ignore)]
fn does_not_work_on_miri() {
unsafe { std::arch::asm!("") };
// Only do this where inline assembly is stable.
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
unsafe {
std::arch::asm!("foo");
}
}
// Make sure integration tests can access both dependencies and dev-dependencies