The Wire · Showcase
PRIRODA DEBUG ADAPTER LANDS IN MIRI WHILE RUSTC CUTS COMPILE-TIME OVERHEAD
By RepoJournal · Filed · About Rust
Miri's Priroda interpreter now ships with full Debug Adapter Protocol support for VS Code and nvim-dap, while the Rust compiler removes unused attribute complexity and patches a Windows stack buffer issue.
The Priroda team merged a complete DAP frontend [1] that enables single-thread stepping, breakpoint management, and macro span resolution in any editor supporting the Debug Adapter Protocol. This follows infrastructure work centralizing request handling [2] and eliminating redundant termination guards [3] that were dead code. The refactoring bubbles predicate failures through a unified HandlerError type [4], making error handling and response sequencing explicit and testable.
On the compiler side, rustc landed a fix for a stack buffer overflow in Windows junction_point handling [5] and removed the OnDuplicate::Custom variant that was only helpful for a single attribute [6]. A resolver PR introduces unsafe speculative flag handling for tracked borrows in CmRefCell [7], improving the clarity of borrow tracking in name resolution. Two rollups merged across 37 PRs total [5] [8].
The crate registry continues steady automation: sui-resolve, sui-bytecode, unstave-core, sui-spec, and monad-revm all bumped [9] [10] [11] [12] [13]. This Week in Rust published issue 663 [14] with notable changes and quote of the week under review [15].
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 Priroda DAP support if you use miri for interactive debugging rust-lang/miri [monitor]
- → Pull the Windows junction_point overflow fix if you build on Windows rust-lang/rust [plan]
- → Update sui ecosystem crates if you depend on them rust-lang/crates.io-index [plan]
References
- [1] [Priroda] Add minimal DAP frontend with single-thread stepping demo ↗ rust-lang/miri
- [2] [Priroda] centralize DAP response sends in run_requests rust-lang/miri
- [3] [Priroda] drop redundant termination guards in DAP handlers rust-lang/miri
- [4] [Priroda] bubble predicate failures through HandlerError rust-lang/miri
- [5] Auto merge of #160559 - JonathanBrouwer:rollup-grEEuN1, r=JonathanBrouwer rust-lang/rust
- [6] Rollup merge of #160569 - JonathanBrouwer:remove_on_duplicate_custom, r=mejrs rust-lang/rust
- [7] Resolver: (un)tracked borrows for `CmRefCell` made safe by unsafe speculative flag ↗ rust-lang/rust
- [8] Auto merge of #160586 - JonathanBrouwer:rollup-UKh8PSn, r=JonathanBrouwer rust-lang/rust
- [9] Update crate `sui-resolve` rust-lang/crates.io-index
- [10] Update crate `sui-bytecode` rust-lang/crates.io-index
- [11] Update crate `unstave-core` rust-lang/crates.io-index
- [12] Update crate `sui-spec` rust-lang/crates.io-index
- [13] Update crate `monad-revm` rust-lang/crates.io-index
- [14] Publishing 663 ↗ rust-lang/this-week-in-rust
- [15] C/QotW and notable changes ↗ rust-lang/this-week-in-rust