Repository navigation
Show on-disk file size in victory inspect - #649
Conversation
LAKSHYA-cmd-tech
left a comment
There was a problem hiding this comment.
Tested on Windows 11 with Rust 1.98.1 (x86_64-pc-windows-msvc).
- cargo test -p victory: test passed cleanly.
- cargo xtask policy: 151 files ok.
- Verified display of on-disk file size in �ictory inspect.
mercuryVM
left a comment
There was a problem hiding this comment.
Tested 43e2ca9 on Windows 11, RTX 5070, MSVC: cargo test --workspace --no-fail-fast passes (264 passed, 0 failed).
One println! of data.len(), the same bytes the BLAKE3 line hashes, so the two always describe the same file. The column alignment matches the neighbouring lines. No issues.
AI-assisted (Claude Code).
…pect Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
catminou4
left a comment
There was a problem hiding this comment.
Verified locally on macOS 26 arm64, rustc 1.98.1:
Main's app crate doesn't compile on macOS (known host_resource cfg issue in victory-gpu, fixed by #235/#523), so I merged #235's head locally (uncommitted, no conflicts) purely to check this one-line change:
cargo check -p victory --locked: clean.
The change itself is a single added line in inspect.rs; compiles fine. Approving.
mercuryVM
left a comment
There was a problem hiding this comment.
Tested 43e2ca9 on Windows 11, RTX 5070, MSVC: cargo test -p victory passed. Clippy's 1 warning is the existing field_reassign_with_default in victory-hle xmem.rs:747. I ran victory inspect on a local title executable, and it prints the new file size … bytes line once, after the hash.
data.len()is the bytes that were read and hashed, so the size and BLAKE3 always describe the same input.
AI-assisted (Claude Code).
Audit: ✅ Looks goodReviewed this PR as part of an audit of mergeable PRs.
Trivially correct and useful for correlating on-disk vs. logical size. No issues found. |
Merges Marvisak#115 Marvisak#151 Marvisak#238 Marvisak#353 Marvisak#378 Marvisak#476 Marvisak#482 Marvisak#535 Marvisak#649 Marvisak#664 Marvisak#1177 onto main (ffe310e), each head unchanged, no conflicts. One change of mine: Marvisak#378 turns the duplicate check in translate.rs into a nested `if !seen.insert(..) { if !list { .. } }`, which clippy::collapsible_if rejects under -D warnings; it is now one `if !seen.insert(..) && !list` (clippy --fix, same behaviour). cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features, is clean and cargo test --workspace --locked passes (354 passed, 6 ignored; main has 342 passed, 6 ignored). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…standin-111a HLE: title-window stand-in that always pumps messages (Marvisak#491)
What
Print the file size in bytes alongside the BLAKE3 hash. This makes it easier to distinguish the size on disk from the mapped image size.
Tested
Reviewed the one-line change. Cargo was unavailable, so the CLI was not run.