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

RUST COMPILER LANDS MAJOR ABI CLEANUP AND VECTOR CONVERSION

By RepoJournal · Filed · About Rust

The compiler shipped a significant refactor of its variant layout representation while standard library gained native Vec-to-array conversion, both merged overnight across two rollup PRs.

The big story is rust-lang/rust#151742, which removes redundant information in `rustc_abi::Variants` by replacing nested `LayoutData` with a smaller `VariantLayout` struct [1]. This follow-up to earlier work partially addresses layout algorithm complexity and represents the kind of foundational cleanup that compounds into better performance over time. In the same rollup [3], the compiler gained retag emission in codegen to support BorrowSanitizer, a critical step toward better memory safety instrumentation in production Rust. Meanwhile, the standard library merged `into_array` for `Vec<T>` [2], a long-requested conversion that eliminates the need for manual workarounds when you need fixed-size arrays from heap allocations. Separately, `cfg(miri)` annotations across the library got cleaned up [4], with redundant interpreter-specific code removed now that the underlying issues have been fixed. The CI pipeline also bumped FreeBSD to version 14 [3], keeping Rust's platform coverage current. On the infrastructure side, docs.rs upgraded opentelemetry-rust to 0.32.0 [5] and is preparing parallelization work by switching storage from `Vec<u8>` to `Bytes` to reduce cloning [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Rollup merge of #151742 - moulins:variant-layout, r=saethlin rust-lang/rust
  2. [2] Rollup of 13 pull requests ↗ rust-lang/rust
  3. [3] Rollup of 14 pull requests ↗ rust-lang/rust
  4. [4] Rollup merge of #156492 - RalfJung:cfg-miri, r=SimonSapin rust-lang/rust
  5. [5] fix(deps): update opentelemetry-rust monorepo to 0.32.0 ↗ rust-lang/docs.rs
  6. [6] storage: use Bytes instead of Vec<u8> to prevent some cloning ↗ rust-lang/docs.rs

Quick answers

What shipped in Rust on May 18, 2026?
The compiler shipped a significant refactor of its variant layout representation while standard library gained native Vec-to-array conversion, both merged overnight across two rollup PRs. In total, 86 commits and 25 pull requests landed.
Who contributed to Rust on May 18, 2026?
3 developers shipped this update, including JonathanBrouwer, renovate[bot], and syphar.
What were the notable Rust updates?
Rollup merge of #151742 - moulins:variant-layout, r=saethlin, Rollup of 13 pull requests, and Rollup of 14 pull requests.

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?