build: 🔨 update minimal rust version to 1.42.0 for matches

Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
zwPapEr 2021-07-22 19:40:28 +08:00 committed by Abin Simon
parent 2ea97d274a
commit d17bf89555
2 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] - ReleaseDate
### Added
- update minimal rust version to 1.42.0 from [zwpaper](https://github.com/zwpaper) [#534](https://github.com/Peltoche/lsd/issues/534)
### Changed
- Change size to use btyes in classic mode from [meain](https://github.com/meain)
- Show tree edge before name block or first column if no name block from [zwpaper](https://github.com/zwpaper) [#468](https://github.com/Peltoche/lsd/issues/468)

View file

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