Skip to content

Commit 8bf1687

Browse files
committed
Fix neon test on non arm64 targets
1 parent d0c5141 commit 8bf1687

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example/neon.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
#[cfg(target_arch = "aarch64")]
66
use std::arch::aarch64::*;
7+
#[cfg(target_arch = "aarch64")]
78
use std::mem::transmute;
9+
#[cfg(target_arch = "aarch64")]
810
use std::simd::*;
911

1012
#[cfg(target_arch = "aarch64")]

0 commit comments

Comments
 (0)