feat: finish the xgameruntime port to Rust (XPackage, XAsync race, store handles) #285
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/285"
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 LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T00:44:40Z.
Change
Finishes porting
runtime/xgameruntime(C++) tocrates/anyxboxx-xgameruntime, written by OpenAI Codex at the maintainer's request, in small commits on top ofrust/full0d5dfa16:E_NOTIMPLand logged (rule 3).docs/rust-full-status.mdanddocs/fr/rust-full-status.mdupdated together.Verification (local, Windows)
cargo build --release --workspace,cargo test --release --workspace, clippy (-D warnings), fmt, ruff: pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T00:44:49Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
e753e9aℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T00:46:52Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
e753e9a52aℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T00:46:52Z.
Code review location:
third_party/victory/crates/victory-hle/src/modules/xasync.rs; line 618If an operation is canceled before its queued work runs, keeping it in
CALLSduring cleanup now allowsXAsyncSchedule's work callback to find it and invokeOP_DO_WORKafterOP_CLEANUPhas started freeing its context. For example,save_async::providerfrees its boxedCompletionduring cleanup, whileOP_DO_WORKdereferences that same pointer. Previously, removal before cleanup caused a work callback arriving in this interval to return without invoking the provider. The newcleaningflag only guardsrelease, not work or cancellation dispatch, so this introduces a use-after-free window. Keep status waiters able to discover the call without allowing further provider dispatch during cleanup.Useful? React with 👍 / 👎.
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T00:46:52Z.
Code review location:
tests/test_rust_dlls.py; line 26On Windows machines without the system GDK runtime, the newly selected
test_runtime_cpp.pyintentionally skipstest_unknown_interface_delegated_to_windows_fails_cleanly;test_native_services.pylikewise skips cases when GameInput is unavailable. However, this wrapper asserts that the subprocess summary contains noskipped, so those supported environments fail the Rust parity check even when every runnable test passes. Account for these expected skips or select only tests whose prerequisites the parity runner guarantees.Useful? React with 👍 / 👎.
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T11:46:36Z.
Merged into main through #351 (rust/full into main), which contains every commit of this PR.
🤖 Generated with Claude Code
Pull request closed