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 9de5974
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions library/portable-simd/crates/core_simd/src/vendor/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ 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 9de5974

Please sign in to comment.