From 86c3174d5b4bc98ccb65ca51402763e7ede15cb3 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Fri, 10 Apr 2020 11:24:37 -0400 Subject: [PATCH] unbreak neon benchmarks A helper function was incorrectly restricted to x86-only. CI doesn't currently cover this, because benchmarks are nightly-only, and it's kind of inconvenient to set RUSTC_BOOTSTRAP=1 through `cross` (which normally doesn't propagate env vars). But maybe we should start... --- src/platform.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform.rs b/src/platform.rs index d2790a6..dafa934 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -276,7 +276,6 @@ impl Platform { } #[cfg(feature = "neon")] - #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub fn neon() -> Option { // Assumed to be safe if the "neon" feature is on. Some(Self::NEON)