Paul Krill
Editor at Large

Rust update fixes ‘forever’ compilation

news
Feb 4, 20252 mins

Rust 1.84.1 resolves several regressions introduced in Rust 1.84 including slow compilation related to the next-gen trait solver that ‘runs almost forever.’

date, time, calendar, hourglass
Credit: Brian A Jackson/Shutterstock

The Rust Team has published a point release update, Rust 1.84.1, to address a few regressions in last month’s Rust 1.84 release, including fixing painfully slow compilation related to the next-generation trait solver.

Announced January 30, Rust 1.84.1 can be accessed as an update by running the command rustup update stable.

With the new trait solver, the goal is to check whether a given trait bound is satisfied, most notably when type checking the body of potentially generic functions. However, the new feature resulted in unexpectedly slow compilation in Rust 1.84. This is fixed with Rust 1.84.1.

In a second regression addressed by the 1.84.1 update, errors have been fixed for overlapping impls in incremental builds. A third regression patched involves resolving compiler errors in duplicate-crate diagnostics. And a fourth fixes missing debug info when LLVM’s location discriminator value limit was exceeded.

Several fixes also were made for those building Rust from source, including resolving symlinks of LLVM tool binaries before copying them and making it possible to use ci-rustc on tarball sources.

The follow-up to Rust 1.84, Rust 1.85, is due February 20, with capabilities including stable support for async closures.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author