Skip to content

Commit 4d8c90a

Browse files
committed
Fix the MSRV: the crate needs Rust 1.88, not 1.85
The msrv CI job failed: edition-2024 let-chains (stabilized in 1.88) and transitive dependencies (home, icu_* require 1.88; idna_adapter requires 1.86) mean 1.85 cannot build the tree. The declared rust-version was simply wrong. Bump rust-version, the CI MSRV toolchain, and the Docker builder to 1.88, and verify with cargo +1.88.0 check --all-targets.
1 parent 8dd5fe5 commit 4d8c90a

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4
29-
- uses: dtolnay/rust-toolchain@1.85.0
29+
- uses: dtolnay/rust-toolchain@1.88.0
3030
- uses: Swatinem/rust-cache@v2
3131
- run: cargo check --all-targets
3232

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ project doesn't have a release yet, so everything below is grouped under
188188

189189
### Fixed
190190

191+
- The declared MSRV was wrong: the code (edition-2024 let-chains) and
192+
several transitive dependencies (`home`, `icu_*` need 1.88;
193+
`idna_adapter` needs 1.86) require Rust **1.88**, not 1.85, so the MSRV
194+
CI job failed. `rust-version`, the CI MSRV toolchain, and the Docker
195+
builder are now 1.88.
191196
- Mobile usability never reported horizontal overflow: the check compared
192197
`document.documentElement.scrollWidth` against `window.innerWidth`, but
193198
under mobile emulation `innerWidth` already reflects the overflowed

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "formwatch"
33
version = "0.1.0"
44
edition = "2024"
5-
rust-version = "1.85"
5+
rust-version = "1.88"
66
description = "Tests public-service forms for broken flows, accessibility, mobile usability, and lost input."
77
license = "MIT"
88
repository = "https://github.com/voidstackloop/formwatch"

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
# --- build stage -------------------------------------------------------
4-
FROM rust:1.85-bookworm AS builder
4+
FROM rust:1.88-bookworm AS builder
55
WORKDIR /src
66

77
# Compile dependencies against a placeholder so a source-only change

0 commit comments

Comments
 (0)