From 0c953e934081d363cd0538ec906c8df2b49bcf52 Mon Sep 17 00:00:00 2001 From: Matthew Jackson <1085847+MattJackson@users.noreply.github.com> Date: Mon, 31 Aug 2026 11:06:35 -0700 Subject: [PATCH] chore(msrv): floor to 1.88, pin CI on the floor, allow uninlined_format_args Declared rust-version and the ci.yml/qa.yml toolchain pins both sit at 1.88 (the edition-2024 floor once zip 8 and let-chains are accounted for), so CI builds on exactly the MSRV: an accidental bump to a newer toolchain fails CI by design and moving the floor takes a deliberate pin edit. The uninlined_format_args allow reconciles 1.88's clippy with the allow-by-default it became in 1.97+. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/qa.yml | 6 +++--- Cargo.toml | 5 ++++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c53fb791..fcc2a259 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: repository: freemkv/freemkv-unlock ref: "${{ github.ref_name == 'qa' && 'qa' || 'dev' }}" path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 with: components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 @@ -95,7 +95,7 @@ jobs: repository: freemkv/freemkv-unlock ref: "${{ github.ref_name == 'qa' && 'qa' || 'dev' }}" path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 with: workspaces: libfreemkv @@ -135,7 +135,7 @@ jobs: repository: freemkv/freemkv-unlock ref: "${{ github.ref_name == 'qa' && 'qa' || 'dev' }}" path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 with: workspaces: libfreemkv @@ -175,7 +175,7 @@ jobs: repository: freemkv/freemkv-unlock ref: "${{ github.ref_name == 'qa' && 'qa' || 'dev' }}" path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 with: workspaces: libfreemkv @@ -279,7 +279,7 @@ jobs: repository: freemkv/freemkv-unlock ref: "${{ github.ref_name == 'qa' && 'qa' || 'dev' }}" path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 with: components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 47cadf6d..20aed0f2 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -79,7 +79,7 @@ jobs: repository: freemkv/freemkv-unlock ref: qa path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 with: workspaces: libfreemkv @@ -100,7 +100,7 @@ jobs: repository: freemkv/freemkv-unlock ref: qa path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 with: components: clippy - uses: Swatinem/rust-cache@v2 @@ -125,7 +125,7 @@ jobs: repository: freemkv/freemkv-unlock ref: qa path: freemkv-unlock - - uses: dtolnay/rust-toolchain@1.94.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 with: workspaces: libfreemkv diff --git a/Cargo.toml b/Cargo.toml index 28569d4b..b8a17ead 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "libfreemkv" version = "1.6.13" edition = "2024" -rust-version = "1.94" +rust-version = "1.88" license = "MIT" description = "Open source raw disc access library for optical drives" repository = "https://github.com/freemkv/libfreemkv" @@ -105,3 +105,6 @@ tempfile = "3" name = "sgio_read" harness = false + +[lints.clippy] +uninlined_format_args = "allow"