mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-14 08:01:10 +01:00
c34bfa30fe
To match clap 4.1
12 lines
314 B
Rust
12 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);
|
|
}
|
|
}
|
|
}
|