Skip to content

Commit ab8b661

Browse files
committed
Disable conversions between portable_simd and stdarch on big-endian ARM
stdarch no longer provide SIMD on big-endian ARM due to rust-lang/stdarch#1484
1 parent 31007f5 commit ab8b661

File tree

1 file changed

+6
-3
lines changed
  • library/portable-simd/crates/core_simd/src/vendor

1 file changed

+6
-3
lines changed

library/portable-simd/crates/core_simd/src/vendor/arm.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ use core::arch::arm::*;
77
#[cfg(target_arch = "aarch64")]
88
use core::arch::aarch64::*;
99

10-
#[cfg(any(
11-
target_arch = "aarch64",
12-
all(target_arch = "arm", target_feature = "v7"),
10+
#[cfg(all(
11+
any(
12+
target_arch = "aarch64",
13+
all(target_arch = "arm", target_feature = "v7"),
14+
),
15+
target_endian = "little"
1316
))]
1417
mod neon {
1518
use super::*;

0 commit comments

Comments
 (0)