Closed davidhewitt closed 1 month ago
That ordering restriction was removed by https://github.com/rust-lang/rust/pull/98383/ in Rust 1.64.
So yes, the default hasher from foldhash
is going to be limited by that. However, hashbrown
itself will still work on 1.63 with default-features = "false"
, if you choose a different hasher for your use.
Ah, makes sense. I hadn't considered the feature combination 👍
Thanks for clarifying that. I think let's close this given the MSRV testing seems to be incoming in #572
Related to #571 / #572
On PyO3's MSRV CI runs (also 1.63, which
hashbrown
has in itsCargo.toml
) we are getting runtime panics from atomic orderings incompatible with 1.63.It looks like the root cause is the new
foldhash
dependency, which does not have anyrust-version
in itsCargo.toml
. The code in question has existed since the first release offoldhash
, so I can only conclude that crate does not support 1.63 at all, and thushashbrown
can't either.https://github.com/PyO3/pyo3/actions/runs/11271186265/job/31344727179#step:18:957