1
0
mirror of https://github.com/sharkdp/fd synced 2024-06-26 04:52:14 +00:00
fd/build.rs
Thayne McCombs c34bfa30fe chore: Update MSRV to 1.64.0
To match clap 4.1
2023-01-18 23:00:03 -07:00

13 lines
314 B
Rust

fn main() {
let min_version = "1.64";
match version_check::is_min_version(min_version) {
Some(true) => {}
// rustc version too small or can't figure it out
_ => {
eprintln!("'fd' requires rustc >= {}", min_version);
std::process::exit(1);
}
}
}