Skip to content
Myr

Upgrade minimum reqiured version of Rust to 1.29

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This upgrades the minimum required version of Rust to 1.29 in order to fix #288. See also: - Rust compiler bug ticket: rust-lang/rust#50619 - Rust compiler PR with the fix: rust-lang/rust#50630 closes #288

authored by sharkdp · committed by David Peter · parent 8fb25f1 · Browse files · 3 files+9 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+9 added−10 removed

  • other:+9 added−10 removed

3 files+9 added−10 removed

modified:.travis.yml+5 added-5 removed
modified:build.rs+3 added-4 removed
16 unmodified lines
1718include!("src/app.rs");1920fn main() {21 match version_check::is_min_version("1.20") {22 // rustc >= 1.2021 match version_check::is_min_version("1.29") {22 Some((true, _)) => {}24 // rustc < 1.20 or can't figure it out23 // rustc version too small or can't figure it out24 _ => {26 writeln!(&mut io::stderr(), "This crate requires rustc >= 1.20").unwrap();25 writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.29").unwrap();26 exit(1);27 }28 }29
13 unmodified lines
modified:README.md+1 added-1 removed
216 unmodified lines
217With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:218```219cargo install fd-find220```221Note that rust version *1.20.0* or later is required.221Note that rust version *1.29.0* or later is required.222223### From binaries224225The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.
215 unmodified lines