Skip to content

Commit

Permalink
build: 🔨 update minimal rust version to 1.42.0 for matches
Browse files Browse the repository at this point in the history
Signed-off-by: zwPapEr <[email protected]>
  • Loading branch information
zwpaper authored and meain committed Jul 23, 2021
1 parent 2ea97d2 commit d17bf89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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.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);
}
}
Expand Down

0 comments on commit d17bf89

Please sign in to comment.