← Back to context

Comment by junon

2 years ago

Ehhhh yes and no, you're mostly correct. 2021 is currently the shelf year for the latest edition of Rust.

However rust versions everything, so even if you have a new compiler that removed support for something, you can still pull the old toolchains and build legacy codebases (like this one).

My Rust OS not only pins the edition (which is the default anyway with `cargo init`) but also uses a toolchain file to pin the date of the nightly build I want contributors to build with.

Rust tooling is really fantastic in this regard.

> However rust versions everything.

I chuckled a little, after all, GCC isn't versioned and there's no companies out there still using GCC 4 or whatever kind of suffering they prefer.

  • That wasn't my point at all, if you read the rest of the comment. I think it was clear I was referring to the ability pin and fetch specific versions of the toolchain when necessary, directly from Rust's tooling.