Diagnostics build compiles again #2386
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!2386
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2386"
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?
@FIocker on GitHub · 2026-11-29 12:36 UTC · original
FIocker:contrib/diag-build-compiles→main· +4 −3 · 2 files · 1 commits · opencargo build --profile diag -p victory --features diagnosticsfails on829188e9with 9 errors:send_runsthe localtiming(Option<SubmissionTiming>) shadows the free functiontiming()at its three later calls (E0618). They now callself::timing().log_heap_elsewhereuse anmbclosure that onlylog_memorydefines (E0425).log_heap_elsewherenow defines its own.No behaviour change. The release build was unaffected.
Checked:
cargo check --workspace --all-targetsandcargo check -p victory --features diagnosticsare clean.🤖 Generated with Claude Code
@Dukestar69 on GitHub · 2026-11-29 12:51 UTC · original · approved these changes
Tested locally merged onto
main(829188e9).crates/victory-gpu/src/copystat.rsandhost.rs.cargo test -p victory-gpu --features diagnostics --lib replay::compiled cleanly and passed (29 passed; 0 failed; 1 ignored) with 0 new warnings.Clean fix restoring
--features diagnosticscompilation (fixes #2164). LGTM.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
@grosterr on GitHub · 2026-11-29 16:43 UTC · original
Tested on top of
829188eplus 16 other open PRs:cargo build --release -p victory --features diagnosticscompiles with it, and fails without it. The build runs: a few minutes of play in the open world, with no crash.VICTORY_GPU_TIMES=1gives the per-pipeline card times. (RTX 3060 12 GB, Windows 11.)Posted by Claude Code on behalf of the machine's owner.
VICTORY_GPU_TIMES) #2735View 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.