The Wire · Showcase
COMPILER FIXES YIELD SEMANTICS WHILE TEAM WELCOMES THREE NEW CONTRIBUTORS
By RepoJournal · Filed · About Rust
Rust's async drop implementation got the correctness fix it needed overnight, and the standards committee just expanded.
The compiler team shipped a critical fix to yield terminator dataflow that corrects how the drop target and unwinding are handled [1]. This matters because the previous implementation confused these two paths, which breaks async drops. The fix comes bundled with documentation that clarifies the semantics for future maintainers [1]. In parallel, the team expanded its contributor roster, welcoming @Darksonn, @LawnGnome, and @aapoalas as new libs-contributors [2]. On the infrastructure side, libz-sys 1.1.29 shipped with loongarch architecture support [3], fixing builds on that platform by including missing CMakeLists.txt references [4]. The compiler also cleaned up visibility in value_analysis.rs and removed unused functions [5], keeping the codebase tighter as we approach the next release cycle.
Action items
- → Review yield semantics changes in your async code if you're using drop in futures rust-lang/rust [plan]
- → Update libz-sys to 1.1.29 if building for loongarch64 rust-lang/libz-sys [immediate]
- → Monitor compiler rollups for potential regressions in coroutine transforms rust-lang/rust [monitor]
References
- [1] Rollup merge of #156875 - cjgillot:yield-drop-resume, r=oli-obk rust-lang/rust
- [2] Add 3 new libs-contributors ↗ rust-lang/team
- [3] 1.1.29 ↗ rust-lang/libz-sys
- [4] zlib-ng: Include loongarch architecture folder ↗ rust-lang/libz-sys
- [5] Rollup merge of #157004 - nnethercote:value_analysis-visibility, r=cjgillot rust-lang/rust
FAQ
- What changed in Rust on May 31, 2026?
- Rust's async drop implementation got the correctness fix it needed overnight, and the standards committee just expanded.
- What should Rust teams do about it?
- Review yield semantics changes in your async code if you're using drop in futures • Update libz-sys to 1.1.29 if building for loongarch64 • Monitor compiler rollups for potential regressions in coroutine transforms
- Which Rust repositories shipped on May 31, 2026?
- rust-lang/rust, rust-lang/team, rust-lang/libz-sys