mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
2d62bd00ff
Fix `isize` optimization in `StableHasher` for big-endian architectures This PR fixes a problem with the stable hash optimization introduced in https://github.com/rust-lang/rust/pull/93432. As `@michaelwoerister` has [found out](https://github.com/rust-lang/rust/pull/93432#issuecomment-1028756212), the original implementation wouldn't produce the same hash on little/big architectures. r? `@the8472`