app: pin inspect's dll_flags rendering with unit tests (#502) #503
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/503"
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 LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:23:38Z.
What this changes
Refs #502. Test-only:
apps/victory/src/inspect.rs'sdll_flags(v: u16)(the parenthesised namesvictory inspectprints for a PE's DllCharacteristics) is now pinned — no flags → empty string, each known bit → its name, several bits → the table's fixed order (not bit order), unknown bits ignored.How it was tested
cargo test -p victory— 9 lib tests pass, incl. the newinspect::tests::dll_flags_render_names_in_the_table_order_not_bit_ordercargo test -p victory-hle -p victory-gpu -p xtask— pass (RC=0)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— pass (RC=0, 0 errors)cargo xtask policy— pass (398 files ok)Checklist
VICTORY_*variable — n/a, none addedImported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Olima34 on 2026-11-28T01:57:22Z.
Review: APPROVED
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.dll_flags: table order rather than bit order, and unknown bits ignored.6f95c132) merged with #503, #413 and #435. On it, thevictory-gpu(arm64) andvictorytests pass, as do Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in three failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately, a test that also flakes on main alone.Thanks @AnastasisKon!