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

MIRI OVERHAULS FILE HANDLE LIFECYCLE, RUST TIGHTENS SYMBOL DEFINITION WARNINGS

By RepoJournal · Filed · About Rust

Miri ripped out the unreliable FileDescription::destroy pattern and fixed critical race conditions around file descriptor closure, while the compiler landed strict new lints against POSIX symbol hijacking that have been catching real production bugs.

The Miri team shipped a major architectural fix [1] that removes the fragile FileDescription::destroy callback mechanism. The old approach required instrumenting every place a file handle dies, which proved impossible to maintain correctly across all edge cases [2]. In tandem, they fixed the actual behavior when threads block on file descriptors that later get closed [3], ensuring virtual sockets now match Linux semantics by holding strong references during blocking operations. On the compiler side, Rust landed aggressive new lints [4] that flag attempts to define POSIX symbols like open, read, malloc, and exit with #[no_mangle], addressing months of user confusion where these redefinitions silently broke test runners and other tooling. The same rollup [5] also shipped pointer authentication configuration options [6] for ARM64 and fixed macro-generated semicolon warnings that were masking future hard errors [7]. Architecture teams pushed stdarch forward with LoongArch SIMD improvements [8] and re-enabled Intel ICX runner support after version updates [9]. The Edition team expanded with Mark and Eric Holk joining the roster [10].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] remove FileDescription::destroy ↗ rust-lang/miri
  2. [2] Merge pull request #5201 from RalfJung/drop-not-destroy rust-lang/miri
  3. [3] Fix behavior when closing an FD while blocking on it ↗ rust-lang/miri
  4. [4] Lint against invalid POSIX symbol definitions ↗ rust-lang/rust
  5. [5] Rollup of 5 pull requests ↗ rust-lang/rust
  6. [6] Pointer authentication config and user facing options ↗ rust-lang/rust
  7. [7] Rollup merge of #159222 - joshtriplett:main, r=petrochenkov rust-lang/rust
  8. [8] loongarch: Use `intrinsics::simd` for vldi ↗ rust-lang/stdarch
  9. [9] Re-enable ICX run ↗ rust-lang/stdarch
  10. [10] Add Mark and Eric Holk to the Edition team rust-lang/team

Quick answers

What shipped in Rust on July 16, 2026?
Miri ripped out the unreliable FileDescription::destroy pattern and fixed critical race conditions around file descriptor closure, while the compiler landed strict new lints against POSIX symbol hijacking that have been catching real production bugs. In total, 114 commits and 24 pull requests landed.
Who contributed to Rust on July 16, 2026?
14 developers shipped this update, including bors, RalfJung, jchlanda, Urgau, Jonathan Brouwer, zedddie, jhpratt, and heiher, and 6 more.
What were the notable Rust updates?
remove FileDescription::destroy, Merge pull request #5201 from RalfJung/drop-not-destroy, and Fix behavior when closing an FD while blocking on it.

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.