Skip to content

Commit 9de5974

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 9de5974

File tree

1 file changed

+7
-4
lines changed
  • library/portable-simd/crates/core_simd/src/vendor

1 file changed

+7
-4
lines changed

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

+7-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ 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"),
13-
))]
10+
#[cfg(
11+
all(any(
12+
target_arch = "aarch64",
13+
all(target_arch = "arm", target_feature = "v7"),
14+
)),
15+
target_endian = "little"
16+
)]
1417
mod neon {
1518
use super::*;
1619

0 commit comments

Comments
 (0)