From af8d9e1a6e682df7e2e9cf0d7147235243bd22d8 Mon Sep 17 00:00:00 2001 From: zackees Date: Wed, 22 Apr 2026 09:45:58 -0700 Subject: [PATCH] ci: update MSRV to Rust 1.94.1 --- .github/workflows/README.md | 2 +- .github/workflows/msrv.yml | 6 +++--- CLAUDE.md | 2 +- Cargo.toml | 2 +- docs/DEVELOPMENT.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index c0249c9d..ca70ed48 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -6,7 +6,7 @@ CI/CD workflows for the fbuild project, covering lint, test, documentation, and - **`check-{macos,ubuntu,windows}.yml`** -- Clippy + tests per platform - **`fmt.yml`** -- Rustfmt check | **`docs.yml`** -- Doc build with `-D warnings` -- **`msrv.yml`** -- MSRV 1.75 verification | **`validate-boards.yml`** -- Board JSON validation +- **`msrv.yml`** -- MSRV 1.94.1 verification | **`validate-boards.yml`** -- Board JSON validation ## Per-Board Builds (push/PR) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 0a9c4bf0..485bb240 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Min Rust Version (1.75) +name: Min Rust Version (1.94.1) on: push: @@ -8,7 +8,7 @@ on: jobs: msrv: - name: Min Rust Version (1.75) + name: Min Rust Version (1.94.1) runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 @@ -19,7 +19,7 @@ jobs: cache: true build-cache: true target-cache: true - toolchain: 1.75.0 + toolchain: 1.94.1 - name: Check MSRV run: soldr cargo check --workspace diff --git a/CLAUDE.md b/CLAUDE.md index 7f7ad5ea..927f68be 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ fbuild is a PlatformIO-compatible embedded build tool (11 crates). See @docs/CLA - **Always use `soldr` or `uv run soldr` to execute Rust commands.** Bare cargo/rustc and legacy `uv run cargo` shims are blocked by hook. soldr uses `rustup which` to pick the rustup-managed toolchain from `rust-toolchain.toml`. The standard Cargo path is `soldr cargo ...`, so repo Rust builds get soldr's managed zccache path by default; do not add repo-specific `RUSTC_WRAPPER` wiring for normal builds. - **Always use `uv` for Python.** Bare `python`/`pip` are blocked by hook. Use `uv run ...` or `uv pip ...`. -- MSRV: 1.75 | Edition: 2021 | Toolchain: 1.94.1 pinned in `rust-toolchain.toml` (clippy + rustfmt) +- MSRV: 1.94.1 | Edition: 2021 | Toolchain: 1.94.1 pinned in `rust-toolchain.toml` (clippy + rustfmt) - CI: Linux, macOS, Windows. All warnings denied (`RUSTFLAGS="-D warnings"`) - Every directory with files must have a README.md (enforced by hook) diff --git a/Cargo.toml b/Cargo.toml index 3874399e..44a07795 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ [workspace.package] version = "2.2.1" edition = "2021" -rust-version = "1.75" +rust-version = "1.94.1" license = "MIT OR Apache-2.0" repository = "https://github.com/fastled/fbuild" diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index fbfb23c3..661c4e04 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -90,7 +90,7 @@ This environment requires you to use `git-bash`. ### Toolchain -- MSRV: 1.75 | Edition: 2021 +- MSRV: 1.94.1 | Edition: 2021 - Toolchain: 1.94.1 pinned in `rust-toolchain.toml` (clippy + rustfmt) - CI: Linux, macOS, Windows. All warnings denied (`RUSTFLAGS="-D warnings"`)