Announcing Rust 1.85.0 and Rust 2024
Announcing Rust 1.85.0 and Rust 2024
Redirect
Announcing Rust 1.85.0 and Rust 2024
Redirect
Just upgraded ten or so smaller projects with no compile errors whatsoever. And then one larger project (probably 20k lines of code or so), which just had a few calls to env::set_var()
that needed to be wrapped in unsafe
, as well as some uses of ref
in pattern-matching, which were apparently not needed, so I'm actually glad to be rid of those.
Very happy with that overall. I was already worried, they might introduce too many breaking changes with how long they were working on this edition, but those worries just evaporated.
Just upgraded
Weird wording!
Maybe it's just me, but this may give the impression that it's something that is strictly needed, or will provide any immediate improvement, which is not the case, unless you're still actively working on these projects and plan to use/depend on features/behaviors required by the new edition.
Yeah, fair enough. I was mainly curious, how much would break, as in how quickly I might expect the Rust ecosystem to adopt these new features. Well, and unless there's a reason against it, I'd prefer having everything on the same edition, i.e. the newest edition.
That's the case with every software updates. Upgrading just means that you jumped to the newer version. Like upgrading to the newest Firefox won't give everyone the same benefit instantly, but its an upgrade in version nonetheless (as an analogy to Rust version).