style: cargo fmt across the workspace; fix clippy field-reassign-with-default #692
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/692"
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 Marvisak/VIctory. Originally posted by arthercz on 2026-11-24T06:56:56Z.
Two hygiene fixes found during a workspace inspection:
cargo fmtacross the workspace: 168 formatting differences in 32 files.cargo fmt --checkis now clean.crates/victory-hle/src/modules/xmem.rs: initializePERFORMANCE_INFORMATION.cbin the struct literal instead of reassigning afterDefault::default()(clippy::field-reassign-with-default).cargo clippy --workspaceis now warning-free.Verified:
cargo test --workspace— 264 passed, 0 failed.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T06:58:43Z.
Review: APPROVED
Verified on macOS 26 arm64, rustc 1.98.1, head
e8ec70c:cargo fmt --all -- --check: clean.cargo clippyon all macOS-buildable crates with--all-targets: clean except the pre-existingconstant_colordead-code warning (fixed in #685).cargo teston the same crates: only the known own-test-binary failures in victory-pe/victory-loader — identical to main's baseline (gated off non-Windows by #235/#523), so no regressions from the formatting.One merge-order note: this reformats 32 files workspace-wide, including
victory-shader/src/emit/lower.rsandvalu_tests.rsthat several open shader PRs (#682, #683, #684, #694) also touch. Whichever lands first, the others will need a rebase — merging this one early minimizes churn.Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T07:14:54Z.
Review: APPROVED
Tested on Windows 11 MSVC:
Imported from Marvisak/VIctory. Originally posted by senchsus on 2026-11-24T07:14:19Z.
Small correction: #692 doesn't touch crates/victory-shader at all (none of its 32 files are there). I also checked #682 against #683, #684 and #694: it merges cleanly with each of them and with all of them together, #692 included, in any order.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:27:30Z.
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed