The Wire · Showcase
CARGO SWAPS SIPHASH FOR FXHASHER, MIRI RESTRUCTURES SOCKET SHIM
By RepoJournal · Filed · About Rust
Cargo's adopting a faster hashing algorithm to cut build time noise, while Miri refactors its virtual socket implementation to match the codebase's established patterns.
Cargo is replacing SipHasher with Fxhasher in its hottest HashMap and HashSet instances [1], a move born from performance profiling that showed SipHasher was a measurable drag on bors builds. This is the kind of surgical optimization that compounds across millions of builds. Meanwhile, Miri is consolidating private socket methods into an EvalContextPrivExt trait [2], eliminating inconsistency across shims. A major rollup merged to rust-lang/rust [3] pulls in 21 PRs including BorrowSanitizer retag support and improved E0277 diagnostics, plus MIR type cleanup that strips unnecessary Hash derives [4]. TypeVisitable got generalized to handle boxed slices and fixed-size arrays [5]. Rustup's dependency locks refreshed this cycle [9]. On the crates.io index, rlg-cli, vtcode-commons, and rdif-reset saw updates [6] [7] [8].
Action items
- → Review Cargo's Fxhasher migration for your build profiles rust-lang/cargo [monitor]
- → Watch Miri's socket shim refactor land fully rust-lang/miri [monitor]
- → Sync if you depend on the rollup changes (BorrowSanitizer, diagnostics, MIR) rust-lang/rust [plan]
References
- [1] Change HashMaps and HashSets in Cargo to use Fxhasher ↗ rust-lang/cargo
- [2] Move private methods of virtual sockets to `EvalContextPrivExt` ↗ rust-lang/miri
- [3] Auto merge of #158795 - JonathanBrouwer:rollup-vhfdJ4m, r=JonathanBrouwer rust-lang/rust
- [4] Rollup merge of #158681 - nnethercote:mir-derives-FIDDLING, r=oli-obk rust-lang/rust
- [5] Rollup merge of #158698 - addiesh:oh-a-visitor, r=oli-obk rust-lang/rust
- [6] Update crate `rlg-cli` rust-lang/crates.io-index
- [7] Update crate `vtcode-commons` rust-lang/crates.io-index
- [8] Create crate `rdif-reset` rust-lang/crates.io-index
- [9] Lock file maintenance ↗ rust-lang/rustup
FAQ
- What changed in Rust on July 6, 2026?
- Cargo's adopting a faster hashing algorithm to cut build time noise, while Miri refactors its virtual socket implementation to match the codebase's established patterns.
- What should Rust teams do about it?
- Review Cargo's Fxhasher migration for your build profiles • Watch Miri's socket shim refactor land fully • Sync if you depend on the rollup changes (BorrowSanitizer, diagnostics, MIR)
- Which Rust repositories shipped on July 6, 2026?
- rust-lang/cargo, rust-lang/miri, rust-lang/rust, rust-lang/crates.io-index, rust-lang/rustup