mirror of
https://github.com/lsd-rs/lsd.git
synced 2026-04-21 19:06:26 +02:00
chore: reduce MSRV to 1.62.0
This commit is contained in:
committed by
Abin Simon
parent
8c1089ed57
commit
31d3701cae
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
@@ -6,7 +6,7 @@ env:
|
|||||||
PROJECT_NAME: lsd
|
PROJECT_NAME: lsd
|
||||||
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
||||||
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
||||||
RUST_MIN_SRV: "1.62.1"
|
RUST_MIN_SRV: "1.62.0"
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
|||||||
4
build.rs
4
build.rs
@@ -18,11 +18,11 @@ use std::process::exit;
|
|||||||
include!("src/app.rs");
|
include!("src/app.rs");
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
match version_check::is_min_version("1.62.1") {
|
match version_check::is_min_version("1.62.0") {
|
||||||
Some(true) => {}
|
Some(true) => {}
|
||||||
// rustc version too small or can't figure it out
|
// 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);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user