mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
chore: bump minimum Rust version to 1.62.1 (latest)
This commit is contained in:
parent
8d08fb63d1
commit
8c1089ed57
1 changed files with 2 additions and 2 deletions
4
build.rs
4
build.rs
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue