1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-05 20:16:17 +02:00

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...
This commit is contained in:
Jack O'Connor 2020-04-10 11:24:37 -04:00
parent e3069da68e
commit 86c3174d5b

View File

@ -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)