CI: clear the four clippy -D warnings errors on main #705
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!705
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-705"
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?
@XANDERSGONE on GitHub · 2026-11-28 03:54 UTC · original
XANDERSGONE:fix/ci-clippy→main· +5 −6 · 4 files · 1 commits · merged 2026-11-29 08:16 UTCCI's Clippy step (
-D warnings) fails on main at8fc2254, socargo testnever runs. This fixes the four lints it stops on, with no change in behaviour:crates/victory-gpu/src/shadow.rs:1708:turns % 16 == 0becomesturns.is_multiple_of(16)(manual_is_multiple_of)crates/victory-gpu/src/descriptor.rs:1234:count % 50_000 == 0becomescount.is_multiple_of(50_000)(only in the--all-featuresbuild)crates/victory-shader/src/emit/mod.rs:2768: the test helper returnslower(...).unwrap()directly (let_and_return)crates/victory-hle/src/modules/gameinput.rs:1372:Some(vk).filter(|_| i < scripted_keys)becomes(i < scripted_keys).then_some(vk)Checked:
cargo clippy --workspace --all-targets --locked -- -D warningsis clean forx86_64-pc-windows-msvc, with and without--all-features. On a fork run with this change,cargo testreaches the tests: 451 pass and 2 fail invictory-gpu, both outside this change.pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_drawsfails on the hosted runner, which has no real GPU, andwatch::tests::a_write_opens_the_view_it_goes_throughfails too. Those two are left for separate fixes.@Dukestar69 on GitHub · 2026-11-28 04:27 UTC · original · approved these changes
LGTM — verified on Windows (Rust 1.98):
cargo clippy --workspace --all-targets -- -D warningspassed with 0 warnings across the entire workspacecargo xtask policypassed (294 files ok)Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
github-bot referenced this pull request2026-11-28 14:35:21 +00:00