test(victory-hle): pin title::call's arg forwarding and expose's identity #613
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T13:29:33Z.
Test-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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.