test(victory-hle): pin title::call's arg forwarding and expose's identity #617
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!617
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-613"
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?
@AnastasisKon on GitHub · 2026-11-28 13:29 UTC · original
AnastasisKon:vibe/title-call-tests-1705ac→main· +27 −0 · 1 files · 1 commits · openTest-only change:
crates/victory-hle/src/title.rs(the two title/host crossings) had no tests.What the tests pin
title::callforwards up to sixu64args to anextern "system"function and returns its result; missing args read as 0. Runs on host arm64 and x86_64-apple-darwin (Rosetta) — on the latter a non-title function takes the direct path.title::exposereturns the object unchanged where it is the identity (gated offmacos/x86_64, where it bridges the vtable instead).Testing
cargo test -p victory-hle --lib title::host arm64 — 2 pass;--target x86_64-apple-darwin— 1 pass (expose test cfg'd out there)cargo test -p victory-hle -p victory -p victory-gpu -p xtask— all passcargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— cleancargo xtask policy— 404 files okChecklist
vibe/title-call-tests-1705acfromupstream/main, pushed to my fork onlyView 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.