From 639bfd5179c20bad5dff6a33939d66eee70d46ef Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 15 Sep 2025 20:44:13 +0300 Subject: [PATCH 1/2] ci: update Nighly version for the Clippy job --- .github/workflows/workspace.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index d6ba854a..857578fd 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -23,7 +23,7 @@ jobs: # Fixed Nigthly version is used to prevent # CI failures which are not relevant to PR changes # on introduction of new Clippy lints. - toolchain: nightly-2025-06-01 + toolchain: nightly-2025-09-15 components: clippy,rust-src - name: std feature run: cargo clippy --features std From 52cb8cf4940db0a0a1c09c4f3e4e549264bfafed Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 15 Sep 2025 20:53:23 +0300 Subject: [PATCH 2/2] allow `clippy::incompatible_msrv` for the windows backend --- src/backends/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/windows.rs b/src/backends/windows.rs index b5cd504f..b1e10e7f 100644 --- a/src/backends/windows.rs +++ b/src/backends/windows.rs @@ -44,7 +44,7 @@ pub use crate::util::{inner_u32, inner_u64}; extern "system" { fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL; } -#[allow(clippy::upper_case_acronyms)] +#[allow(clippy::upper_case_acronyms, clippy::incompatible_msrv)] type BOOL = core::ffi::c_int; // MSRV 1.64, similarly OK for this backend. const TRUE: BOOL = 1;