compat-common tests: keep TOMBOX_DXC and TOMBOX_DXC_DIR for the nested DLL build #212
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!212
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/212/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?
@QuentinDanblon on GitHub · 2026-11-23 02:25 UTC · original
QuentinDanblon:pr/built-dlls-dxc→main· +2 −1 · 1 files · 1 commits · closed without mergingLibrary / area: compat-common test support (
tests/support/built_dlls.rs). No runtime code.Exports changed (exports.txt rows): none
Source of the behaviour: none, this is a build portability fix in the tests.
built_dlls::ensureremoves everyTOMBOX_*variable before it runs the nestedcargo build. That also removesTOMBOX_DXCandTOMBOX_DXC_DIR, the two variables thed3d12_xsbuild script declares withrerun-if-env-changedand uses to find DXC. +2 / -1: those two are now passed through, the others are still removed.Where it fails
On this machine
C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64hasdxcompiler.dllanddxc.exebut nodxil.dll, sotombox_xshader::dxcfinds no usable Windows Kits folder and I pointTOMBOX_DXC_DIRat a DXC release instead. A directcargo build -p d3d12_xsworks that way. The nested build does not, because the variable is gone, and there is no checked-inshaders/query_accum.dxilto fall back on:--release,TOMBOX_DXC_DIRset)ad24144gdk_multi_dllcompat_routesThe same file is included by
net_cross_moduleand by the twomfplattests, so they get the fix too. I did not run themfplatones.No comment lines added (PR gate: 1 file checked, 0 problems).
cargo test -p compat-common --release --test gdk_multi_dll --test compat_routespassesmissingwith a note🤖 Generated with Claude Code
@omonkeyz on GitHub · 2026-11-23 02:34 UTC · original
Applied in
d6ae2cb(merged inc16f0fa) with your authorship kept, thanks. gdk_multi_dll (1/1) and compat_routes (18/18) pass here.Pull request closed