Commit 7bab70b
chore(ci): bump the pinned nightly to 2026-08-09
`RUST_NIGHTLY_VERSION` drives every job in `ci.yml` — build, clippy,
fmt, tests, doc tests and the AFL fuzzer — not just the doc build its
comment claimed. It had drifted six months behind the toolchain the
downstream consumers of this crate build on, so vm2 was never exercised
on the compiler its users actually use.
The crate already builds on the new nightly; only clippy failed, on
eight pedantic findings in five files:
- `chunks_exact_to_as_chunks` in `Program::new` — `as_chunks::<8>()` /
`as_chunks::<32>()`. The 8-byte case also drops a `try_into().unwrap()`,
which in turn makes the `#[allow(clippy::missing_panics_doc)]` on that
function stale, so it goes too (verified: clippy is clean without it).
- `redundant_else` in `encode_static_gas_cost` — folded the diverging
`if`/`else` into an `assert!`. Written as `assert!` rather than a bare
`if ... panic!` because the latter trips `manual_assert`, also pedantic.
- `assert_is_empty` (2), `manual_assert_eq` (1) and
`unnecessary_trailing_comma` (2) in test and mock code.
No behaviour change.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8eab448 commit 7bab70b
6 files changed
Lines changed: 20 additions & 19 deletions
File tree
- .github/workflows
- crates/vm2/src
- single_instruction_test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 142 | + | |
| 143 | + | |
147 | 144 | | |
148 | 145 | | |
149 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
988 | | - | |
| 987 | + | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
0 commit comments