Restrict compilation to rustc >= 2017-07-09.

This commit is contained in:
Sergio Benitez 2017-07-09 22:34:29 -07:00
parent 6050eb5169
commit 7e0cbe4842
2 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@ use yansi::Color::{Red, Yellow, Blue, White};
use version_check::{supports_features, is_min_version, is_min_date}; use version_check::{supports_features, is_min_version, is_min_date};
// Specifies the minimum nightly version needed to compile Rocket's codegen. // Specifies the minimum nightly version needed to compile Rocket's codegen.
const MIN_DATE: &'static str = "2017-06-19"; const MIN_DATE: &'static str = "2017-07-09";
const MIN_VERSION: &'static str = "1.19.0-nightly"; const MIN_VERSION: &'static str = "1.20.0-nightly";
fn main() { fn main() {
let ok_channel = supports_features(); let ok_channel = supports_features();

View File

@ -8,7 +8,7 @@ use yansi::Color::{Red, Yellow, Blue, White};
use version_check::{supports_features, is_min_version, is_min_date}; use version_check::{supports_features, is_min_version, is_min_date};
// Specifies the minimum nightly version needed to compile Rocket. // Specifies the minimum nightly version needed to compile Rocket.
const MIN_DATE: &'static str = "2017-07-02"; const MIN_DATE: &'static str = "2017-07-09";
const MIN_VERSION: &'static str = "1.20.0-nightly"; const MIN_VERSION: &'static str = "1.20.0-nightly";
fn main() { fn main() {