Correct swizzle_dyn cfg for armv7 neon

This commit is contained in:
Jubilee Young 2023-05-11 17:22:00 -07:00
parent a978408be9
commit c7f6aae79c

View File

@ -18,7 +18,7 @@ pub fn swizzle_dyn(self, idxs: Simd<u8, N>) -> Self {
#![allow(unused_imports, unused_unsafe)]
#[cfg(target_arch = "aarch64")]
use core::arch::aarch64::{uint8x8_t, vqtbl1q_u8, vtbl1_u8};
#[cfg(all(target_arch = "arm", target_feature = "v7"))]
#[cfg(all(target_arch = "arm", target_feature = "v7", target_feature = "neon"))]
use core::arch::arm::{uint8x8_t, vtbl1_u8};
#[cfg(target_arch = "wasm32")]
use core::arch::wasm32 as wasm;