Add rustc version check to build script #2733
This extends the build script with a few version checks, as a first step towards autopublishing.
As it is right now, the current checks will stop the compilation if the used rust version is older than the one specified in
I committed the min_version.txt manually, but with #2717 that should only be done through travis, so I added it to the .gitignore to prevent manual commits with that file. Until #2717 is done, we will have to update the min_version.txt manually with
If Clippy is compiled on beta or stable it will show the following error:
If Clippy is compiled with a nightly older than specified in
This change breaks compilation on a rustc compiled directly from git:
This rustc was compiled today from git master (e6db79f2ca0), with the following config.toml: