mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #877] [MERGED] build: link synchronization for the Rust XMA2 decoder (BUILD-XMA2-SYNCH-LIB) #917
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#917
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/877
Author: @UwUCammie
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142
Base:
main← Head:pr/xma2-synchronization-lib📝 Commits (1)
efe544dbuild: link synchronization for the Rust XMA2 decoder (BUILD-XMA2-SYNCH-LIB)📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
runtime/CMakeLists.txt(+3 -1)📄 Description
Claimed in the coordination issue as: BUILD-XMA2-SYNCH-LIB
What and why
runtime/xma_decoder(#404) is linked intogta6rtandacphal_testwithkernel32;ntdll;userenv;ws2_32;dbghelp. Rust's std also importsWaitOnAddress,WakeByAddressSingleandWakeByAddressAll, which live insynchronization.lib. MSVC's default libraries cover that, but a clang-cl build against an xwin SDK does not, so once cargo builds the decoder the link fails:This names
synchronizationnext to the decoder's other link dependencies, with a comment saying why.Tested
cmake --build <build> --target gta6rt acphal_test): the link fails as above without the change and succeeds with it.acphal_test.exeunder Wine 11.22 with the decoder linked:170 checks, 0 failures.runtime/CMakeLists.txtchange on top of #404; this branch is only that one-line change onmain.GPUs tested: n/a (build change only; the machine is an AMD Radeon RX 7900 XT, RADV, Mesa 26.3.1, CachyOS, Wine 11.22)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.