From 3c87952c47a80290efb2b21f32a8de6eb241e522 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 9 Dec 2018 15:11:43 +0100 Subject: [PATCH] Bump minimum required Rust version --- .travis.yml | 10 +++++----- README.md | 2 +- build.rs | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4865338..45fd13f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,19 +69,19 @@ matrix: # Minimum Rust supported channel. - os: linux - rust: 1.29.0 + rust: 1.31.0 env: TARGET=x86_64-unknown-linux-gnu - os: linux - rust: 1.29.0 + rust: 1.31.0 env: TARGET=x86_64-unknown-linux-musl - os: linux - rust: 1.29.0 + rust: 1.31.0 env: TARGET=i686-unknown-linux-gnu - os: linux - rust: 1.29.0 + rust: 1.31.0 env: TARGET=i686-unknown-linux-musl - os: osx - rust: 1.29.0 + rust: 1.31.0 env: TARGET=x86_64-apple-darwin # Code formatting check diff --git a/README.md b/README.md index 575b094..28067e9 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can ``` cargo install fd-find ``` -Note that rust version *1.29.0* or later is required. +Note that rust version *1.31.0* or later is required. ### From binaries diff --git a/build.rs b/build.rs index d45d98b..051e233 100644 --- a/build.rs +++ b/build.rs @@ -18,11 +18,11 @@ use std::process::exit; include!("src/app.rs"); fn main() { - match version_check::is_min_version("1.29") { + match version_check::is_min_version("1.31") { Some((true, _)) => {} // rustc version too small or can't figure it out _ => { - writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.29").unwrap(); + writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.31").unwrap(); exit(1); } }