Diagnostics build compiles again #2386
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by FIocker on 2026-11-29T12:36:50Z.
cargo 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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Dukestar69 on 2026-11-29T12:51:32Z.
Review: APPROVED
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).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by grosterr on 2026-11-29T16:43:31Z.
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.
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.