about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--example/neon.rs2
1 files changed, 2 insertions, 0 deletions
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")]