From 400cd68afbfe38ab32d618f4100fb92a37314873 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 5 Jan 2024 13:35:07 -0500 Subject: [PATCH] Pin ahash to 0.8.6 The recent ahash release 0.8.7 started using the library feature 'stdsimd' which was not stabilized until Rust 1.72 for aarch64 and will cause an issue when building for aarch64 on (see tkaitchuck/aHash#195 for more details) with our MSRV which was 1.64 and was just raised to 1.70 in #11493. This isn't caught in CI because we don't have any aarch64 environments to test with. As 1.72 is fairly recent < 6 months old as of this commit. This just opts to pin the ahash version used to one that is compatible with our MSRV on all supported platforms. --- Cargo.lock | 4 ++-- crates/accelerate/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6e58b88da8a..35d786f10407 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "ahash" -version = "0.8.7" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ "cfg-if", "getrandom", diff --git a/crates/accelerate/Cargo.toml b/crates/accelerate/Cargo.toml index 04e5df59a444..f50d9deb594d 100644 --- a/crates/accelerate/Cargo.toml +++ b/crates/accelerate/Cargo.toml @@ -20,7 +20,7 @@ numpy = "0.20.0" rand = "0.8" rand_pcg = "0.3" rand_distr = "0.4.3" -ahash = "0.8.7" +ahash = "0.8.6" num-complex = "0.4" num-bigint = "0.4" rustworkx-core = "0.13"