From 8bf1687879dded8a91b844bac2ff66cd5609d024 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:57:07 +0000 Subject: [PATCH] Fix neon test on non arm64 targets --- example/neon.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/neon.rs b/example/neon.rs index bad26947967..00e437d7e54 100644 --- a/example/neon.rs +++ b/example/neon.rs @@ -4,7 +4,9 @@ #[cfg(target_arch = "aarch64")] use std::arch::aarch64::*; +#[cfg(target_arch = "aarch64")] use std::mem::transmute; +#[cfg(target_arch = "aarch64")] use std::simd::*; #[cfg(target_arch = "aarch64")]