diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index bb0605293..ccdefc27e 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -6,7 +6,7 @@ env: PROJECT_NAME: lsd PROJECT_DESC: "An ls command with a lot of pretty colors." PROJECT_AUTH: "Peltoche " - RUST_MIN_SRV: "1.64.0" + RUST_MIN_SRV: "1.69.0" on: [push, pull_request] diff --git a/build.rs b/build.rs index 68540c9b5..ac4da2e00 100644 --- a/build.rs +++ b/build.rs @@ -16,8 +16,8 @@ include!("src/app.rs"); fn main() { // rustc version too small or can't figure it out - if version_check::is_min_version("1.64.0") != Some(true) { - eprintln!("'lsd' requires rustc >= 1.64.0"); + if version_check::is_min_version("1.69.0") != Some(true) { + eprintln!("'lsd' requires rustc >= 1.69.0"); exit(1); } diff --git a/src/meta/mod.rs b/src/meta/mod.rs index 267927659..8e9432410 100644 --- a/src/meta/mod.rs +++ b/src/meta/mod.rs @@ -386,7 +386,7 @@ mod tests { // likely to fail because of permission issue // see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html #[cfg(windows)] - std::os::windows::fs::symlink_file(&path_c, &path_b) + std::os::windows::fs::symlink_file(path_c, &path_b) .expect("failed to create broken symlink"); let meta_b = Meta::from_path(&path_b, true, false).expect("failed to get meta"); diff --git a/src/sort.rs b/src/sort.rs index 6986fa8f8..1fad6326d 100644 --- a/src/sort.rs +++ b/src/sort.rs @@ -378,7 +378,7 @@ mod tests { // likely to fail because of permission issue // see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html #[cfg(windows)] - std::os::windows::fs::symlink_file(&path_d, &path_c) + std::os::windows::fs::symlink_file(path_d, &path_c) .expect("failed to create broken symlink"); let meta_c = Meta::from_path(&path_c, true, false).expect("failed to get meta"); diff --git a/tests/integration.rs b/tests/integration.rs index f2000577a..11ef41f0b 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -303,7 +303,7 @@ fn test_dereference_link_broken_link_output() { // likely to fail because of permission issue // see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html #[cfg(windows)] - std::os::windows::fs::symlink_file(&target, &link).expect("failed to create broken symlink"); + std::os::windows::fs::symlink_file(target, &link).expect("failed to create broken symlink"); cmd() .arg("-l")