Diagnostics builds compile again #2744
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2744"
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 gabrielecabrini on 2026-11-29T16:46:39Z.
What
cargo build --profile diag -p victory --features diagnostics, and therefore the CI'scargo clippy --workspace --all-targets --all-featuresstep, stop at nine errors invictory-gpuonmain.Evidence
Fix
host.rs: the submission's locallet mut timing(anOption<SubmissionTiming>) shadows the diagnostics-onlyfn timing()(VICTORY_GPU_TIMING) at its three uses in the same function. They callself::timing()now.copystat.rs: the "windows cut nearer" line formats withmb(..), which that function never defined. It is defined there as a closure, bytes to MB asf64, as the file's other report functions do.No behaviour changes.
VICTORY_GPU_TIMINGstays off unless set.Tests
cargo xwin build --profile diag -p victory --features diagnosticsbuilds.cargo xwin clippy -p victory-gpu --all-targets --all-featuresfinishes with no errors.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gabrielecabrini on 2026-11-30T17:17:09Z.
Closing: the same change is already on main.
Pull request closed