chore: bump minimum Rust version to 1.62.1 (latest)

This commit is contained in:
Narawit Rakket 2022-08-07 22:22:17 +07:00 committed by Abin Simon
parent 8d08fb63d1
commit 8c1089ed57

View file

@ -18,11 +18,11 @@ use std::process::exit;
include!("src/app.rs");
fn main() {
match version_check::is_min_version("1.43.1") {
match version_check::is_min_version("1.62.1") {
Some(true) => {}
// rustc version too small or can't figure it out
_ => {
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.43.1").unwrap();
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.62.1").unwrap();
exit(1);
}
}