diff --git a/src/cpu/arm.rs b/src/cpu/arm.rs index 6f6ee2a90..50e2e499b 100644 --- a/src/cpu/arm.rs +++ b/src/cpu/arm.rs @@ -12,6 +12,11 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![cfg_attr( + not(any(target_arch = "aarch64", target_arch = "arm")), + allow(dead_code) +)] + #[cfg(all( any(target_os = "android", target_os = "linux"), any(target_arch = "aarch64", target_arch = "arm")