diff --git a/docs/design/gpui-spikes.md b/docs/design/gpui-spikes.md index 382c6e2..2c93fd0 100644 --- a/docs/design/gpui-spikes.md +++ b/docs/design/gpui-spikes.md @@ -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 diff --git a/spikes/gpui/README.md b/spikes/gpui/README.md index 8636907..88ea383 100644 --- a/spikes/gpui/README.md +++ b/spikes/gpui/README.md @@ -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)