From 6ce3ab72a07e4aadb6bf9b62427d5c31c4639e59 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 22 Feb 2024 16:57:30 +0900 Subject: [PATCH] Fix build error on big endian aarch64 --- crates/core_simd/src/vendor/arm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_simd/src/vendor/arm.rs b/crates/core_simd/src/vendor/arm.rs index ee5c6421373..233dc080728 100644 --- a/crates/core_simd/src/vendor/arm.rs +++ b/crates/core_simd/src/vendor/arm.rs @@ -69,7 +69,7 @@ mod simd32 { from_transmute! { unsafe Simd => int8x4_t } } -#[cfg(target_arch = "aarch64")] +#[cfg(all(target_arch = "aarch64", target_endian = "little"))] mod aarch64 { use super::neon::*; use super::*;