style: cargo fmt across the workspace; fix clippy field-reassign-with-default #676
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/676"
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:40:59Z.
Two hygiene fixes found during a workspace inspection:
cargo fmtacross the workspace: 168 formatting differences in 32 files (long-line wrapping in gpu/hle/loader/formats).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 before committing:
cargo test --workspace— 264 passed, 0 failed.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T06:47:55Z.
Review: APPROVED
Verified locally on macOS 26 arm64, rustc 1.98.1 at head
e8ec70cb:cargo fmt --all -- --check: cleancargo clippyon all macOS-buildable crates (--all-targets): clean, no warningscargo teston the same crates: all green except victory-pe's 4 own-binary tests, which fail identically on main (they parse the test binary as a PE image — Windows-only; #523 gates them off non-Windows). Not caused by this PR.(victory-gpu/victory-hle can't compile on macOS at all — main's known cfg issue — so the fmt/clippy changes there are verified by inspection only.)
Approving.
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T06:48:50Z.
Review: APPROVED
LGTM! Tested on Windows 11 with MSVC Rust 1.98.1. cargo test -p victory-hle passed cleanly (86 passed) and cargo clippy -p victory-hle is completely warning-free. Fixing the PERFORMANCE_INFORMATION struct initialization eliminates the persistent clippy warning on main.
Imported from Marvisak/VIctory. Originally posted by arthercz on 2026-11-24T06:57:04Z.
Superseded by #691 (speech) and #692 (fmt/clippy) as two focused PRs.
Pull request closed