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

DEBUGGER DISCOVERY NOW OPT-IN, CODEGEN BUG FIXED

By RepoJournal · Filed · About Rust

GDB and LLDB no longer auto-discover in bootstrap, forcing developers to explicitly configure debuggers or skip debuginfo tests entirely.

The compiler's bootstrap system flipped a critical default: GDB and LLDB debugging is no longer automatically detected [1]. Developers must now opt in using `build.gdb/lldb = "discover"` to run debuginfo tests, though CDB on Windows remains auto-detected [2]. This is a behavioral shift that will surface in CI pipelines and local test runs. In parallel, the codegen layer fixed a latent crash where functions returning entirely-uninitialized values like `MaybeUninit::uninit()` would ICE when hitting the `PassMode::Direct | PassMode::Pair` branch [3]. The bug was introduced when `OperandValue::Uninit` landed to optimize away uninit constant stores but missed one critical path [4]. Over in Enzyme (the autodiff compiler framework), AIR compatibility landed to broaden GPU architecture support [5], paired with CI improvements disabling macOS debug lit tests to preserve limited CI capacity [6]. Across all four repos, 58 commits and 6 PRs shipped in 24 hours.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Implement opt-in debugger discovery for GDB and LLDB in bootstrap ↗ rust-lang/rust
  2. [2] Auto merge of #159455 - Kobzol:bootstrap-discover-lldb, r=jieyouxu rust-lang/rust
  3. [3] codegen: handle OperandValue::Uninit in codegen_return_terminator ↗ rust-lang/rust
  4. [4] codegen: handle OperandValue::Uninit in codegen_return_terminator rust-lang/rust
  5. [5] Add AIR compatibility ↗ rust-lang/enzyme
  6. [6] Disable enzyme lit test ci for macos debug ↗ rust-lang/enzyme

Quick answers

What shipped in Rust on July 26, 2026?
GDB and LLDB no longer auto-discover in bootstrap, forcing developers to explicitly configure debuggers or skip debuginfo tests entirely. In total, 58 commits and 6 pull requests landed.
Who contributed to Rust on July 26, 2026?
7 developers shipped this update, including 许杰友 Jieyou Xu (Joe), joshlf, bors, Kobzol, glandium, pw0908, and wsmoses.
What were the notable Rust updates?
Implement opt-in debugger discovery for GDB and LLDB in bootstrap, Auto merge of #159455 - Kobzol:bootstrap-discover-lldb, r=jieyouxu, and codegen: handle OperandValue::Uninit in codegen_return_terminator.

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?