Skip to content

Commit

Permalink
chore: reduce MSRV to 1.62.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamTamoad authored and meain committed Aug 12, 2022
1 parent 8c1089e commit 31d3701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
PROJECT_NAME: lsd
PROJECT_DESC: "An ls command with a lot of pretty colors."
PROJECT_AUTH: "Peltoche <[email protected]>"
RUST_MIN_SRV: "1.62.1"
RUST_MIN_SRV: "1.62.0"

on: [push, pull_request]

Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ use std::process::exit;
include!("src/app.rs");

fn main() {
match version_check::is_min_version("1.62.1") {
match version_check::is_min_version("1.62.0") {
Some(true) => {}
// rustc version too small or can't figure it out
_ => {
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.62.1").unwrap();
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.62.0").unwrap();
exit(1);
}
}
Expand Down

0 comments on commit 31d3701

Please sign in to comment.