diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-22 16:57:07 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-22 16:57:07 +0000 |
| commit | 8bf1687879dded8a91b844bac2ff66cd5609d024 (patch) | |
| tree | 28334f572fdbd8b299010a906fc078d2b06fa48c | |
| parent | d0c51412572b3b7adc4896224a745c01fe53f4ed (diff) | |
| download | rust-8bf1687879dded8a91b844bac2ff66cd5609d024.tar.gz rust-8bf1687879dded8a91b844bac2ff66cd5609d024.zip | |
Fix neon test on non arm64 targets
| -rw-r--r-- | example/neon.rs | 2 |
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")] |
