The Wire · Showcase
RUST-ANALYZER SHIPS THREE RELEASES OVERNIGHT; STDLIB FIXES UNWIND GUARDS AND SOCKET PATHS
By RepoJournal · Filed · About Rust
Rust-analyzer deployed three point releases in rapid succession [ref:6][ref:7][ref:8] while the standard library landed critical fixes for thread parking and Unix socket address truncation across BSD variants.
Rust-analyzer v0.3.3016 [3] added support for `Reborrow` and `CoerceShared` built-in derives and fixed macro expansion errors on trailing commas in env macros like `env!("PATH",)` [4][5], restoring proper path evaluation where the macro previously returned an expansion error. On the stdlib front, a critical patch [6] guards against unwinds in the queue-based `Once` primitive, promoting them to aborts to prevent undefined behavior when a thread's waiter node gets freed while still on the list, matching the defensive pattern already used in `RwLock`. In parallel, Unix socket handling [7] fixed address truncation on FreeBSD, NetBSD, and QNX where `getsockname(2)` doesn't count the trailing NUL in reported length, causing the last character of bound socket paths to drop. Rustup's test suite cleaned up environment leaks [9][10] where inherited `XDG_CONFIG_HOME` from developer shells was polluting config directories, and bootstrap LLVM refactors [8] removed dependence on implicit CI paths, making LLVM configuration explicit and eliminating dynamic downloads during config parsing. The rustc-dev-guide [11] unified internal link formats to `.md` extensions, which work consistently across both GitHub and the published site.
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
- → Update rust-analyzer to v0.3.3016 for macro and derive fixes rust-lang/rust-analyzer [plan]
- → Review stdlib unwind guards if you maintain parking or synchronization code rust-lang/rust [monitor]
- → Test Unix socket paths on BSD systems if you use them in production rust-lang/rust [plan]
References
- [1] 2026-08-17.2 ↗ rust-lang/rust-analyzer
- [2] 2026-08-17.1 ↗ rust-lang/rust-analyzer
- [3] 2026-08-17 ↗ rust-lang/rust-analyzer
- [4] fix: don't error on tail comma for some macro ↗ rust-lang/rust-analyzer
- [5] Merge pull request #23134 from A4-Tacks/str-macro-tail-comma rust-lang/rust-analyzer
- [6] Rollup merge of #161185 - joboet:unwind_queue_once, r=clarfonthey rust-lang/rust
- [7] Rollup merge of #160416 - devnexen:gh118925, r=Mark-Simulacrum rust-lang/rust
- [8] Auto merge of #160916 - Kobzol:bootstrap-llvm-2, r=jieyouxu rust-lang/rust
- [9] tests: remove `XDG_CONFIG_HOME` from env rust-lang/rustup
- [10] tests: remove `XDG_CONFIG_HOME` from env ↗ rust-lang/rustup
- [11] Use .md links consistently ↗ rust-lang/rustc-dev-guide