Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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
I took the date comparison from https://github.com/SergioBenitez/version_check/blob/master/src/lib.rs#L55 and it works properly now.
May 7, 2018
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: