When is Rust going to have a stable distro experience?
When is Rust going to have a stable distro experience?
Posted Jun 27, 2025 12:19 UTC (Fri) by laarmen (subscriber, #63948)In reply to: When is Rust going to have a stable distro experience? by taladar
Parent article: Getting extensions to work with free-threaded Python
This statement is wrong for a couple of reasons. First, there is the odd project that uses unstable features, thus relying on semantics that are by definition subject to change. The rust-for-linux project is (was?) one of those. If you work on the kernel you definitely want to keep older versions of the toolchain around. rustc itself is also one of those, btw. Building an older version of rustc with a newer one doesn't work.
Second, it's actually pretty easy to find an example of code that was fine on 1.74 and doesn't compile today. The 1.80 release famously broke any version of the time crate that was older than 3 months at the time.
I actually think that was fine, although annoying. When you have things like type inference, autoderef, lifetime inference, etc... you're bound to break edge-cases whenever you touch the algorithms, and the resulting QoL changes were probably worth the breakage. However, I do wish people would be more nuanced when mentioning the backwards compatibility story of Rust.