From f34505df54acf93ab617bbd1a283b01101b57e38 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 30 Jul 2021 14:41:47 +0200 Subject: [PATCH 1/2] bump the minimal version for coverage to 1.52 Drivers: https://github.com/rust-lang/rust/issues/71395 https://github.com/rust-lang/rust/pull/80470 needed by grcov --- .github/workflows/CICD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index b2d77a5a4..012c14264 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -14,7 +14,7 @@ env: PROJECT_DESC: "Core universal (cross-platform) utilities" PROJECT_AUTH: "uutils" RUST_MIN_SRV: "1.43.1" ## v1.43.0 - RUST_COV_SRV: "2020-08-01" ## (~v1.47.0) supported rust version for code coverage; (date required/used by 'coverage') ## !maint: refactor when code coverage support is included in the stable channel + RUST_COV_SRV: "2021-05-06" ## (~v1.52.0) supported rust version for code coverage; (date required/used by 'coverage') ## !maint: refactor when code coverage support is included in the stable channel on: [push, pull_request] From 3e096491f3694ae420a43e50d63388c81e543b85 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 30 Jul 2021 15:22:20 +0200 Subject: [PATCH 2/2] Remove clippy allow was causing unused attribute `allow` --- src/uu/cp/src/cp.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/uu/cp/src/cp.rs b/src/uu/cp/src/cp.rs index 4deaefa98..031890b5a 100644 --- a/src/uu/cp/src/cp.rs +++ b/src/uu/cp/src/cp.rs @@ -55,7 +55,6 @@ use walkdir::WalkDir; use std::os::unix::fs::PermissionsExt; #[cfg(target_os = "linux")] -#[allow(clippy::missing_safety_doc)] ioctl!(write ficlone with 0x94, 9; std::os::raw::c_int); quick_error! {