mirror of
https://github.com/sharkdp/fd
synced 2024-09-05 08:13:19 +00:00
13 lines
314 B
Rust
13 lines
314 B
Rust
fn main() {
|
|
let min_version = "1.60";
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|