diff options
| author | Josh Stone <jistone@redhat.com> | 2020-05-04 16:15:38 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-05-04 16:15:38 -0700 |
| commit | 1eb1c8d1f270014d68ca8becb693a1f02f7332fc (patch) | |
| tree | b343bbbb72d07af4b8a88d9c07e77edf925ec6e9 /src | |
| parent | 54bc3e556624161e0d7620156c294012099855d6 (diff) | |
| download | rust-1eb1c8d1f270014d68ca8becb693a1f02f7332fc.tar.gz rust-1eb1c8d1f270014d68ca8becb693a1f02f7332fc.zip | |
Allow the llvm_asm! shim to go unused on some archs
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/internal_macros.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/internal_macros.rs b/src/libcore/internal_macros.rs index 5f578e44323..8304a676918 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)*) } |
