[PR #996] [MERGED] ci: link synchronization for the XMA2 ABI smoke test (CI-XMA2-FFI-LINKAGE) #1033

Closed
opened 2026-11-26 20:19:52 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/996
Author: @5headsmartbtw
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142

Base: main ← Head: fix/ci-xma2-ffi-linkage


📝 Commits (1)

  • 9f087c9 ci: link synchronization for the XMA2 ABI smoke test

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 .github/workflows/xma2-decoder.yml (+1 -1)
📝 runtime/xma_decoder/README.md (+3 -1)

📄 Description

Claimed in the coordination issue as: CI-XMA2-FFI-LINKAGE

What and why

Link synchronization.lib when MSVC builds the standalone synthetic XMA2 C++ ABI smoke test. Rust's Windows standard library references WaitOnAddress, WakeByAddressSingle, and WakeByAddressAll, which the current cl command leaves unresolved. Document the Windows import library in the decoder README.

Adapted from Danila Kupreenko's LeonidaReforge/Leonida#23. The workflow and its README are the scope of this PR. Related Continued #877 covers the runtime CMake targets.

Tested

  • Baseline on Continued 3ed8e50b7: Rust formatting, all 10 Rust tests, and the Rust static library build passed. The standalone smoke-test link failed with three LNK2019 unresolved synchronization imports and LNK1120, matching the upstream Windows CI failure.
  • With the link fix: cargo fmt -- --check, cargo test --locked (10 passed), cargo build --locked, and the synthetic C++ ABI smoke test all passed on Windows x64 with Rust 1.100.0, MSVC 14.44.35207 and Windows SDK 10.0.26100.0.
  • git diff --check and scripts/check_no_game_data.py passed on the changed files.

GPUs tested: n/a (CPU-only synthetic tests).

AI-assisted: yes, Codex.

Checklist

  • Based on main.
  • One topic.
  • No game data, keys or decryption.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/996 **Author:** [@5headsmartbtw](https://github.com/5headsmartbtw) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `fix/ci-xma2-ffi-linkage` --- ### 📝 Commits (1) - [`9f087c9`](https://github.com/ubiquitarianism/leonida/commit/9f087c96b9e0fab953685f7c05c341191e5f0859) ci: link synchronization for the XMA2 ABI smoke test ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/xma2-decoder.yml` (+1 -1) 📝 `runtime/xma_decoder/README.md` (+3 -1) </details> ### 📄 Description Claimed in the coordination issue as: [CI-XMA2-FFI-LINKAGE](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137910994) ### What and why Link `synchronization.lib` when MSVC builds the standalone synthetic XMA2 C++ ABI smoke test. Rust's Windows standard library references `WaitOnAddress`, `WakeByAddressSingle`, and `WakeByAddressAll`, which the current `cl` command leaves unresolved. Document the Windows import library in the decoder README. Adapted from Danila Kupreenko's [LeonidaReforge/Leonida#23](https://github.com/LeonidaReforge/Leonida/pull/23). The workflow and its README are the scope of this PR. Related Continued [#877](https://github.com/ubiquitarianism/leonida/pull/877) covers the runtime CMake targets. ### Tested - Baseline on Continued `3ed8e50b7`: Rust formatting, all 10 Rust tests, and the Rust static library build passed. The standalone smoke-test link failed with three `LNK2019` unresolved synchronization imports and `LNK1120`, matching the [upstream Windows CI failure](https://github.com/ubiquitarianism/leonida/actions/runs/45406612256). - With the link fix: `cargo fmt -- --check`, `cargo test --locked` (10 passed), `cargo build --locked`, and the synthetic C++ ABI smoke test all passed on Windows x64 with Rust 1.100.0, MSVC 14.44.35207 and Windows SDK 10.0.26100.0. - `git diff --check` and `scripts/check_no_game_data.py` passed on the changed files. GPUs tested: n/a (CPU-only synthetic tests). AI-assisted: yes, Codex. ### Checklist - [x] Based on `main`. - [x] One topic. - [x] No game data, keys or decryption. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:52 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1033
No description provided.