SergioBenitez / version_check

Rust library for checking the installed/running rustc's version.
https://docs.rs/version_check
Apache License 2.0
50 stars 14 forks source link

wrong version check #3

Closed divinespear closed 6 years ago

divinespear commented 6 years ago

I'm trying to build my project with rocket, I got:

Error: Pear requires a nightly or dev version of Rust.
Installed version is: 1.28.0 (2018-07-30). Minimum required: 1.28.0-nightly (2018-06-23).
thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /home/divinespear/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.0.19/build.rs:31:13

1.28.0 should be greater then 1.28.0-nightly, but...

dtolnay commented 6 years ago

Error: Pear requires a nightly or dev version of Rust.

1.28.0 is not a nightly or dev version of Rust, even if the release date is later than 2018-06-23.