aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-04-10 11:24:37 -0400
committerJack O'Connor <[email protected]>2020-04-10 11:24:39 -0400
commit86c3174d5b4bc98ccb65ca51402763e7ede15cb3 (patch)
treeca87512f860d7b0393fb72d2a7ac9e22ff8a1baa
parente3069da68e58d280e54c5bfc36a8182117d34b41 (diff)
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...
-rw-r--r--src/platform.rs1
1 files changed, 0 insertions, 1 deletions
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<Self> {
// Assumed to be safe if the "neon" feature is on.
Some(Self::NEON)