From 1eb1c8d1f270014d68ca8becb693a1f02f7332fc Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 4 May 2020 16:15:38 -0700 Subject: [PATCH] Allow the llvm_asm! shim to go unused on some archs --- src/libcore/internal_macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/internal_macros.rs b/src/libcore/internal_macros.rs index 5f578e44323ec..8304a67691853 100644 --- a/src/libcore/internal_macros.rs +++ b/src/libcore/internal_macros.rs @@ -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)*) }