Commit b990e3c
authored
build: bump Rust toolchain to 1.97.1 (lambdaclass#542)
## Motivation
The toolchain pin had drifted five releases behind upstream stable
(1.92.0 → 1.97.1, released 2026-07-14). Bumping picks up compiler and
clippy fixes and keeps the declared MSRV aligned with the toolchain we
actually build with.
## Description
Updates every real version pin:
| File | Change |
|---|---|
| `rust-toolchain.toml` | `channel` 1.92.0 → 1.97.1 |
| `Cargo.toml` | workspace `rust-version` (MSRV) 1.92.0 → 1.97.1 |
| `Dockerfile` | builder base `rust:1.92-bookworm` →
`rust:1.97-bookworm` |
| `.github/workflows/ci.yml` | `toolchain` 1.92.0 → 1.97.1 |
| `.github/actions/run-fixture-tests/action.yml` | `toolchain` 1.92.0 →
1.97.1 |
| `.github/workflows/daily_loc_report.yml` | `toolchain` 1.92.0 → 1.97.1
|
| `CLAUDE.md` | Quick Reference version line |
| `docs/rpc.md` | node-identity sample response `rustc-v1.85.0` →
`rustc-v1.97.1` |
The `docs/rpc.md` string is illustrative rather than a pin, but it was
two bumps stale, so it is refreshed here to keep it tracking reality.
Deliberately **not** changed:
- `flake.nix` and `preview-config.nix` derive the toolchain from
`rust-toolchain.toml`, so they follow automatically.
- `.github/workflows/pr-main_mdbook.yml` stays on `toolchain: stable`,
since it only needs cargo to install `mdbook-linkcheck2` and was never
pinned.
- `crates/net/rpc/src/node.rs` (`rustc-v1.92.0`) is an injected test
sentinel (`v9.9.9-test-deadbeef`) asserted to round-trip verbatim. It
does not read the real rustc version and the test passes regardless, so
it is left alone.
## Verification
Run locally on `rustc 1.97.1 (8bab26f4f 2026-07-14)`:
| Check | Result |
|---|---|
| `cargo fmt --all` | no changes |
| `cargo clippy --workspace --all-targets -- -D warnings` | clean, zero
new lints across the five-version jump |
| `cargo test --workspace --release` | 543 passed, 0 failed, 7 ignored,
30 binaries, 0 warnings |
| `Cargo.lock` churn | none |
| `rust:1.97-bookworm` on Docker Hub | present (active amd64 image) |
The 7 ignored tests are the pre-existing `#[ignore]` leanVM crypto
tests.1 parent 4daf481 commit b990e3c
8 files changed
Lines changed: 8 additions & 8 deletions
File tree
- .github
- actions/run-fixture-tests
- workflows
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments