diff --git a/src/cpu/arm.rs b/src/cpu/arm.rs index 4fa22bc98..4e81f919e 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")