fd/build.rs

13 lines
314 B
Rust
Raw Normal View History

2017-10-04 12:31:08 +00:00
fn main() {
let min_version = "1.60";
2020-04-03 19:35:09 +00:00
match version_check::is_min_version(min_version) {
2019-09-15 15:27:12 +00:00
Some(true) => {}
// rustc version too small or can't figure it out
_ => {
2020-04-03 19:35:09 +00:00
eprintln!("'fd' requires rustc >= {}", min_version);
std::process::exit(1);
}
}
2017-10-04 21:38:01 +00:00
}