mirror of
https://github.com/lsd-rs/lsd
synced 2024-11-13 23:57:08 +00:00
build: 🔨 update minimal rust version to 1.42.0 for matches
Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
parent
2ea97d274a
commit
d17bf89555
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
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.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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue