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 committed Jan 30, 2024
1 parent 31007f5 commit ab8b661
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions library/portable-simd/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 ab8b661

Please sign in to comment.