Skip to content

Commit

Permalink
Allow the llvm_asm! shim to go unused on some archs
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed May 4, 2020
1 parent 54bc3e5 commit 1eb1c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/internal_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ macro_rules! impl_fn_for_zst {
}
}

#[allow(unused_macros)]
macro_rules! llvm_asm {
// Redirect to asm! for stdarch in stable 1.43
($($arg:tt)*) => { $crate::asm!($($arg)*) }
Expand Down

0 comments on commit 1eb1c8d

Please sign in to comment.