Skip to content

Commit

Permalink
Bump min. required Rust version to 1.36
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Mar 22, 2020
1 parent 2340bab commit dd07bc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@ matrix:

# Minimum Rust supported channel.
- os: linux
rust: 1.31.0
rust: 1.36.0
env: TARGET=x86_64-unknown-linux-gnu
- os: linux
rust: 1.31.0
rust: 1.36.0
env: TARGET=x86_64-unknown-linux-musl
- os: linux
rust: 1.31.0
rust: 1.36.0
env: TARGET=i686-unknown-linux-gnu
- os: linux
rust: 1.31.0
rust: 1.36.0
env: TARGET=i686-unknown-linux-musl
- os: osx
rust: 1.31.0
rust: 1.36.0
env: TARGET=x86_64-apple-darwin

# Code formatting check
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can
```
cargo install fd-find
```
Note that rust version *1.31.0* or later is required.
Note that rust version *1.36.0* or later is required.

### From binaries

Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ use std::process::exit;
include!("src/app.rs");

fn main() {
match version_check::is_min_version("1.31") {
match version_check::is_min_version("1.36") {
Some(true) => {}
// rustc version too small or can't figure it out
_ => {
writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.31").unwrap();
writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.36").unwrap();
exit(1);
}
}
Expand Down

0 comments on commit dd07bc9

Please sign in to comment.