docs: the spikes' nightly clippy result as it is

The report and the spikes' README said the spikes pass clippy on 1.95.0
and on nightly; the final run's nightly clippy (1.101.0-nightly of
2026-10-23) has a lint 1.95 does not, chunks_exact_to_as_chunks, which
flags two chunks_exact(4) loops in spikes/gpui/common/src/bgra.rs. Both
now say so; the code is left as it is (clippy on 1.95.0, the pinned
toolchain of the spikes, is clean at every commit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-10-27 03:24:09 +03:00
1 parent 3167817b89
commit 5c36aae55e
2 files changed
+10 -5

No files matched your search

+5 -1
View File
@@ -358,7 +358,11 @@ error: could not compile `gpui-pre` (lib) due to 2 previous errors
So step 3 starts by moving `rust-toolchain.toml` to 1.95 (or the stable of
the day) in the root workspace, a change of its own with the usual checks.
The spikes build and pass clippy on 1.95.0 and on nightly 2026-10-24.
The spikes build on 1.95.0 and on nightly 2026-10-24 and pass clippy with
`-D warnings` on 1.95.0 at every commit; nightly's clippy has a lint 1.95
does not (`chunks_exact_to_as_chunks`) and flags two `chunks_exact(4)`
loops in `spikes/gpui/common/src/bgra.rs` (the packed-RGBA branch and a
test), left as they are.
### Dependencies
+5 -4
View File
@@ -22,10 +22,11 @@ read only, by path (`voelin-core`, `voelin-media`, `voelin-platform`,
`gpui-kit` 0.8.0 is pinned exactly. No `gpui-kit` release builds with the
repository's Rust 1.94: every `gpui-pre` 0.3.x (the GPUI snapshot under all
of them) calls `std::hint::cold_path`, stable since 1.95.0 (E0658 on 1.94).
The workspace says `rust-version = "1.95"`; the spikes are built and
checked with 1.95.0 (the default of `shell.sh`) and nightly 2026-10-24
(`TOOLCHAIN=nightly`, rustc 1.101.0-nightly of 2026-10-23), both from one
pinned fenix. `TOOLCHAIN=1.94 spikes/gpui/shell.sh sh -c 'cd spikes/gpui &&
The workspace says `rust-version = "1.95"`; the spikes build with 1.95.0
(the default of `shell.sh`) and nightly 2026-10-24 (`TOOLCHAIN=nightly`,
rustc 1.101.0-nightly of 2026-10-23), both from one pinned fenix; clippy
is clean on 1.95.0 (nightly's adds `chunks_exact_to_as_chunks`, which
flags two loops in `common/src/bgra.rs`). `TOOLCHAIN=1.94 spikes/gpui/shell.sh sh -c 'cd spikes/gpui &&
cargo build --locked --ignore-rust-version'` shows the failure.
## Environment (NixOS)