Disable conversions between portable_simd and stdarch on big-endian ARM

stdarch no longer provide SIMD on big-endian ARM due to
https://github.com/rust-lang/stdarch/issues/1484
This commit is contained in:
Amanieu d'Antras 2024-01-30 03:40:53 +00:00
parent 31007f51ed
commit ab8b661667

View file

@ -7,9 +7,12 @@
#[cfg(target_arch = "aarch64")]
use core::arch::aarch64::*;
#[cfg(any(
target_arch = "aarch64",
all(target_arch = "arm", target_feature = "v7"),
#[cfg(all(
any(
target_arch = "aarch64",
all(target_arch = "arm", target_feature = "v7"),
),
target_endian = "little"
))]
mod neon {
use super::*;