Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2772"
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 ea0099 on 2026-11-29T17:08:38Z.
What it changes
Main's CI stops at its first step:
cargo clippy --workspace --all-targets --locked -- -D warningshas 38 findings on55d0691, so neither the diagnostics clippy step nor the tests run for any push or pull request.Two open PRs already clear some of them:
victory-loaderandvictory-shader.victory-gpu:font.rs's second'%'arm, which clippy reports twice, plusbusyandadapter.This clears the other 29, in
victory-gpuandvictory-hle, and touches none of the lines those two change. With the three in, the gate has no findings.Written as clippy asks, with the same behaviour:
shader_cache.rs:14AtomicBooldroppedhost/panel.rs:149,pipeline/library.rs:776manual_is_multiple_ofis_multiple_oflist.rs:2658needless_borrowhandlesis already a&[u64]resource.rs:2375unnecessary_lazy_evaluationsunwrap_or(amatchon a local)gameinput.rs:830, 876unnecessary_lazy_evaluationsthen_somecompose.rs:221too_many_arguments#[allow]onComposer::record, as on 48 other functions in the treestreamline.rs:3689assertions_on_constantsconstblocklib.rs:269,lifecycle.rs:1004items_after_test_modulepipeline/library.rs:90incompatible_msrvrust-version1.88 → 1.89.File::try_lockalready needs it, so the code doesn't build on 1.88 today. The toolchain is 1.98.1.Unused since the 11.29.01 merge: kept, not deleted. Each one gets
#[allow(dead_code)]and a one-line note. They look like wiring that got lost in the merge, not code nobody wants, so whoever puts them back has them:Host::fetch_bufferwithfetchmem::{sizes, buffer}: the fetch buffer that shrinks under memory pressure. This may be part of the memory handling you mentioned the next build restores.take_spare_wb(its tests still run) andflush_all'sMANY_CHUNKflush_all's ahead snapshot: it is still filled, but nothing reads it.Shadow::nothing_new_withandwatch::nothing_new_with, which took it, are unused too.shadow::wide_chunk(VICTORY_WIDE_CHUNK; its tests still run)HostHeap::mirror_for_pass(VICTORY_HEAP_LOOK_QUIET). The batch's ownmirror_for_passis the one that's called.recycle::Kind::Card,memory::lock_memory,make::Queue::popcreate_loose_computewithloose_compute,fspx_containerandMAX_LOOSE_PART: no device method slot namescreate_loose_computeIf you'd rather some of these were deleted, or wired back here, say which and I'll do it.
How it was tested
cargo clippy --workspace --all-targets --locked -- -D warningson55d0691gives 38 findings.x86_64-pc-windows-msvc) and in upstream's own CI workflow onwindows-latest: its Clippy step passes (run). The next step, Clippy, diagnostics build, then stops on the--all-featuresbuild errors this doesn't touch (copystat.rs'smb, thetimingshadowed inhost.rs), which #2048, #2143 and #2208 fix, so that run skipped the tests.cargo testpassed for the crates it touches: not run yet: CI skipped the step after the diagnostics build. The change is lints, attributes and two moved items, with no behaviour change. For reference, on the same basecargo testfails threevictory-formatsbcpack oracle tests (oracle_parity_*) that this doesn't touch.Checked for overlap
--all-featuresbuild, which this doesn't touch.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.