xg_xs: the test target needs src/oracle.rs, which is not in the repo #303
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#303
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?
@GDAgent on GitHub · 2026-11-23 17:09 UTC · original
crates/compat/xg_xs/src/lib.rsdeclaresbut
crates/compat/xg_xs/src/oracle.rsis not in the repository (the other oracle modules,oracle_3d.rs,oracle_xs.rs,oracle_msaa.rs,dcc_oracle.rs, are). On a clean checkoutcargo test -p xg_xstherefore fails withE0583: file not found for module oracle, so none of the crate's unit tests can run, including the ones that need no console data.Two contributors have hit this independently (#292 mentions it; we worked around it locally by cutting the oracle modules out to run the xg_xs tests for a new export).
If the file holds data taken from console libraries that cannot be published, would it work to either:
oracle.rswith the non-console parts and put the console-derived cases behind an opt-in feature or an#[ignore]with a reason, the way the console-DLL fixture tests ind3d12_xsbehave without dumps; ormod oracle;(and the tests that use it) behind acfgthat is off by default?Either way
cargo test -p xg_xswould build on a clean checkout and new xg_xs exports could be tested before review. Happy to send a PR for the gating if you tell us which shape you prefer.@BuHHuTlyx on GitHub · 2026-11-23 21:05 UTC · original
Reproduced on Windows 11 24H2 (x64) from a clean checkout of
mainatf89e4106fe8a1728515afa34ceb5097132cadcda, usingrustc 1.100.0 (0ef1bc386 2026-11-09)(x86_64-pc-windows-msvc).cargo test -p xg_xsexited with code 101. The compiler reportedE0583atcrates/compat/xg_xs/src/lib.rs:15becausemod oracle;has no correspondingoracle.rsororacle/mod.rs. No unit tests ran.