RepoJournal
Rust

@rust-lang

The Rust language, Cargo, and the standard library

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.

Pick a date

Topics: Rust Full archive →

The Wire · Showcase

CLIPPY CUTS COMPILE TIME WITH TAB-GROUP REWRITE, UBUNTU 26.04 LANDS IN BUILD ENV

By RepoJournal · Filed · About Rust

Clippy killed a vector allocation that was hitting every doc comment in the crate, shaving up to 1.61% off compile time while the ecosystem upgrades to Ubuntu 26.04 LTS across build infrastructure.

Clippy's `get_chunks_of_tabs` function was collecting character indices into a vector and inspecting them pairwise for every doc comment, a pattern that allocated unnecessarily [1]. The fix rewrote the search to work directly on raw UTF-8 bytes, since tabs are single bytes that cannot appear inside other character encodings [2]. Early benchmarks show measurable wins: regex 1.10.5 dropped 1.61%, with smaller but consistent improvements across syn, serde, wasmi, and ryu [1]. Meanwhile, the Rust ecosystem's build infrastructure moved to Ubuntu 26.04 LTS, requiring ~87 package updates across ffmpeg, ICU, poppler, OpenCV, Qt6, boost, and others [3]. The build environment also added qt6-base-private-dev to support crates compiling against Qt private headers, verified by successfully building qtbridge [8]. Across 106 commits and 17 PRs in the last 24 hours, Clippy also stabilized new constants for `approx_constant` to match Rust 1.94's stable Euler gamma and golden ratio exports [4]. The compiler itself continued its steady refactor: removing outdated type-system comments, cleaning up long-dead workarounds for the P type, and hardening layout randomization guarantees for zero-sized types [5] [6] [7].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] perf: find tab groups in doc comments without allocating ↗ rust-lang/rust-clippy
  2. [2] perf: find tab groups in doc comments without allocating (#17410) rust-lang/rust-clippy
  3. [3] Update Linux images to Ubuntu 26.04 LTS rust-lang/crates-build-env
  4. [4] Add `EULER_GAMMA` and `GOLDEN_RATIO` to `approx_constant` ↗ rust-lang/rust-clippy
  5. [5] Rollup merge of #159761 - chenyukang:yukang-remove-outdated-comment-in-typeck, r=lcnr rust-lang/rust
  6. [6] Rollup merge of #159773 - panstromek:remove-p-workaround, r=fee1-dead rust-lang/rust
  7. [7] Rollup merge of #157905 - zachs18:randomize-layout-zst-note, r=davidtwco rust-lang/rust
  8. [8] Add qt6-base-private-dev for crates using Qt private headers rust-lang/crates-build-env

Quick answers

What shipped in Rust on July 24, 2026?
Clippy killed a vector allocation that was hitting every doc comment in the crate, shaving up to 1.61% off compile time while the ecosystem upgrades to Ubuntu 26.04 LTS across build infrastructure. In total, 106 commits and 17 pull requests landed.
Who contributed to Rust on July 24, 2026?
8 developers shipped this update, including bors, Jacob Pratt, flip1995, sbernauer, xmakro, llogiq, matthias-rauter, and Hugo Osvaldo Barrera.
What were the notable Rust updates?
perf: find tab groups in doc comments without allocating, perf: find tab groups in doc comments without allocating (#17410), and Update Linux images to Ubuntu 26.04 LTS.

More from @rust-lang

Daily updates, in your inbox

Follow Rust

Keep up with Rust in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?