Skip to content

Commit

Permalink
Disable conversions between portable_simd and stdarch on big-endian ARM
Browse files Browse the repository at this point in the history
stdarch no longer provide SIMD on big-endian ARM due to
rust-lang/stdarch#1484
  • Loading branch information
Amanieu authored and calebzulawski committed Apr 9, 2024
1 parent 436fdab commit ee3dda8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/core_simd/src/vendor/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ use core::arch::arm::*;
#[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::*;
Expand Down

0 comments on commit ee3dda8

Please sign in to comment.