Skip to content

Commit 9b6560d

Browse files
committed
Add a shim from llvm_asm! to asm! for stdarch
1 parent b93d500 commit 9b6560d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libcore/internal_macros.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,8 @@ macro_rules! impl_fn_for_zst {
117117
)+
118118
}
119119
}
120+
121+
macro_rules! llvm_asm {
122+
// Redirect to asm! for stdarch in stable 1.43
123+
($($arg:tt)*) => { $crate::asm!($($arg)*) }
124+
}

0 commit comments

Comments
 (0)