Closed tshepang closed 5 years ago
While there's no specific reason we can't use stable
, the compiler uses the beta
channel, and this is why we also have been using that. I believe it is because using that same version could avoid possible problems when updating rustc to newer polonius revisions.
That being said, maybe I'm misremembering, and Niko may remember reasons to keep using beta, or the opposite, approve of switching to stable.
What compiler is meant in "the compiler uses the beta channel"? Rust compiler? I also do not understand "using that same version could avoid possible problems when updating rustc to newer polonius revisions".
Ah exactly yes, the Rust compiler: this project is made specifically to be used in rustc, in the librustc
and librustc_mir
sub-crates. (Mainly the latter)
Ok, what do you mean by "the compiler uses the beta channel"?
A nightly version of rust compiler is compiled using the latest beta version at that time. A beta version is compiled using the latest stable. A stable version is compiled using the previous stable version.
rustc is built using bootstrapping: newer versions are built using an older version of itself, and the version it uses is the beta toolchain, the same as we use here today. There are more details in the rustc guide here about the different stages.
interesting to know, thanks
Hm, is it not better to just remove the file?