The Wire · Showcase
RUST COMPILER SHIPS PRIVACY CACHING WIN, LEGACY INT MODULES FULLY DEPRECATED
By RepoJournal · Filed · About Rust
The compiler just got faster on privacy checks while the standard library closes the book on deprecated integer modules that have lingered for years.
A performance rollup merged overnight that caches already-checked types in the privacy visitor [1], skipping redundant walks through the same interned types across multiple nodes. This targets a real bottleneck where the privacy checker was re-walking identical type structures repeatedly. Separately, std::u8 and friends are now fully deprecated [2], completing the deprecation cycle started years ago and clearing a long-standing cleanup task from the libs roadmap. The compiler team also landed a trait solver fix that normalizes aliases before generalization in the new solver [3], subtly changing how inferred types relate to associated types. On the docs front, docs.rs improved 404 pages for missing rustdoc resources [4], replacing generic errors with contextual recovery links to the crate root and version list. The blog repo picked up three new posts: an official LLM policy framing piece [5], a Polonius alpha enablement announcement [6], and a funding team progress update [7], signaling active communication on governance and project direction.
One email a day. Unsubscribe in one click.
Keep up with Rust in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review deprecated integer module migration path if your crate uses std::u8, std::i32, etc. rust-lang/rust [plan]
- → Watch Polonius alpha post for testing guidance if you hit borrow checker issues rust-lang/blog.rust-lang.org [monitor]
- → No immediate action needed on compiler changes; performance and solver fixes roll automatically rust-lang/rust [monitor]
References
- [1] Rollup merge of #160317 - xmakro:perf/privacy-accessible-type-cache, r=petrochenkov rust-lang/rust
- [2] Rollup merge of #146882 - cyrgani:deprecate-legacy-int-mods, r=clarfonthey,BurntSushi,joshtriplett rust-lang/rust
- [3] Rollup merge of #160443 - khyperia:move-normalize-to-relations, r=lcnr rust-lang/rust
- [4] Improve 404 page for missing rustdoc resources ↗ rust-lang/docs.rs
- [5] Add a post about `rust-lang/rust`'s new LLM policy ↗ rust-lang/blog.rust-lang.org
- [6] Add Polonius on nightly blog post ↗ rust-lang/blog.rust-lang.org
- [7] new blog post: funding team progress update ↗ rust-lang/blog.rust-lang.org