mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 13:42:34 +00:00
Drop the support of V1.30.1 and move to the rust 2018 edition
This commit is contained in:
parent
e1138bbec3
commit
1cd275de76
3 changed files with 7 additions and 6 deletions
|
@ -35,16 +35,16 @@ matrix:
|
|||
|
||||
# Minimum Rust supported channel.
|
||||
- os: linux
|
||||
rust: 1.30.1
|
||||
rust: 1.31.0
|
||||
env: TARGET=x86_64-unknown-linux-gnu
|
||||
- os: linux
|
||||
rust: 1.30.1
|
||||
rust: 1.31.0
|
||||
env: TARGET=i686-unknown-linux-gnu
|
||||
- os: osx
|
||||
rust: 1.30.1
|
||||
rust: 1.31.0
|
||||
env: TARGET=x86_64-apple-darwin
|
||||
- os: linux
|
||||
rust: 1.30.1
|
||||
rust: 1.31.0
|
||||
env:
|
||||
- TARGET=arm-unknown-linux-gnueabihf
|
||||
- CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.8
|
||||
|
|
|
@ -9,6 +9,7 @@ name = "lsd"
|
|||
readme = "./README.md"
|
||||
repository = "https://github.com/Peltoche/lsd"
|
||||
version = "0.12.1-pre"
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "lsd"
|
||||
|
|
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.30.1") {
|
||||
match version_check::is_min_version("1.31.0") {
|
||||
Some((true, _)) => {}
|
||||
// rustc version too small or can't figure it out
|
||||
_ => {
|
||||
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.30.1").unwrap();
|
||||
writeln!(&mut io::stderr(), "'lsd' requires rustc >= 1.31.0").unwrap();
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue