CI: clippy clean again on Rust 1.98.1, in both builds #957
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/957"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 0xkn0wh3r3 on 2026-11-28T10:00:56Z.
Both CI clippy runs (
cargo clippy --workspace --all-targets --locked -- -D warnings, with and without--all-features) fail on main with lints that the pinned 1.98.1 toolchain reports. Every open PR is red because of them.Lints fixed
manual_is_multiple_ofvictory-gpu/src/descriptor.rs(descriptor census)count.is_multiple_of(50_000)manual_is_multiple_ofvictory-gpu/src/shadow.rs(worker spin loop)turns.is_multiple_of(16)some_filtervictory-hle/src/modules/gameinput.rs(scripted keys of the stand-in pad)(i < scripted_keys).then_some(vk), the same choicelet_and_returnvictory-shader/src/emit/mod.rs(a test helper)No change in behaviour. #816 carries the same four edits inside a larger pool change. This PR has only them, so the other open PRs can go green without waiting for it. Whichever merges second has a trivial conflict, or none.
Checks
Finishedin 34 s,--all-featuresFinishedin 41 s.cargo test -p victory-hle -p victory-gpu -p victory-shader --locked:descriptor::host::tests::views_off_their_elements_get_a_copy_of_their_bytesonce.cargo fmt --checkis not clean on main (3,777 diffs in about 150 files), but CI doesn't run it. Reformatting would conflict with every open PR, so it is left alone.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by t91a60 on 2026-11-28T14:52:25Z.
Verified locally on Windows 11 with the pinned Rust 1.98.1, offline (--locked):
63b902f) the same commands fail (3 sites: let_and_return invictory-shader emit/mod.rs, manual_is_multiple_of in victory-gpu shadow.rs and descriptor.rs)
The branch is main + one commit and merges cleanly. The hunks are behaviour-preserving
(is_multiple_of is exact for unsigned ints, MSRV 1.88 ≥ 1.87). Note that some_filter in
gameinput.rs doesn't fire under the CI flags; harmless to keep.
#665, #687 and #705 contain the same hunks, so #957 looks like the one to merge.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.