fd/build.rs

13 lines
314 B
Rust
Raw Normal View History

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