build: quote mangled xbtp logging symbols in global_asm #43
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!43
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/43/head"
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?
@figmasigma122343-bot on GitHub · 2026-11-21 18:59 UTC · original
figmasigma122343-bot:build/xbtp-logging-thunks→main· +4 −8 · 1 files · 102 commits · closed without mergingTasks
global_asm!call {sym}operands with quoted mangled namesxbtpon the current Rust toolchainxbtplibrary testsconsole_fixedoracle tests still require the private console images (environment prerequisite, not this PR)Problem
Current Rust/LLVM rejects the unquoted
?LogErrorV@@YAXPEBDPEAD@Z,?LogWarningV@@YAXPEBDPEAD@Z,?LogInfoV@@YAXPEBDPEAD@Zand?KdDbgPrintV@@YAXPEBD0PEAD@Zoperands in the logging thunks:Change
The four
global_asm!calls now use the quoted mangled names directly and thesymoperands are removed. This is a symbol-spelling change only; the thunks keep their register/stack layout and exported names.Before / after
Verification
Observed:
xbtplibrary tests: 115 passed; 0 failed.cargo test -p xbtpadditionally runs theconsole_fixedoracle tests, which assertimages.len() >= 4and need the private console DLL images. They fail on a clean checkout for that missing fixture, not because of this change.Scope
This PR only fixes the assembly symbol spelling needed to build on the current toolchain. It does not change any xbtp behavior or export status.
@omonkeyz on GitHub · 2026-11-22 13:12 UTC · original
Main's history was rewritten, which auto-closed this PR (sorry for the noise). Closing: the existing
symoperands build and pass here on cargo 1.100. Please reopen with a toolchain version that fails.Pull request closed