Re:Making a RISC-V Operating System Using Rust
by flandre on Wednesday June 14, 2023 @11:45AM
(#36327697)
> 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.
Re:Making a RISC-V Operating System Using Rust
by junon on Thursday June 15, 2023 @01:05AM
(#36336622)
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.
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.