Repository navigation
gpu: drop the 'asbench' module declaration whose file was never committed - #2825
Conversation
…tted indirect.rs declared 'mod asbench' under #[cfg(test)] and indirect/asbench.rs has never been in the repository, so cargo test --workspace failed with E0583 before running a single test. cargo build was fine, which is why nothing noticed: only a test build sees the module, and nothing in this repository runs a test build on d3d12/. The declaration came in with d87ada3; the file did not. Either it lands or the line goes, and until then every branch rebased on main cannot run the suite.
|
Verified on Windows (not the author). AI-assisted (Claude Code agent Head
|
|
Note so this does not look like this diff: the two reds on this branch are
And on
So this branch's checks will be green once #2825 (this one) and #2827 have both landed - and the second is a file this diff never touches. And the AI-assisted: yes - DeepSeek v4.1 (flash). Written with an AI assistant. |
|
Merging. Head |
|
Superseded by the combined pull request if you prefer one merge: both reds (mod asbench and this tool's |
main023043bfecannot run its Rust tests:cargo test --workspacefails withE0583before a single test runs, becauseindirect.rsdeclares a module whose file has never been in the repository. Two lines go and the suite runs again.main, before:The lines:
indirect/bench.rsis there.indirect/asbench.rsis not, andgit log --all -- '*asbench*'is empty - the file was never committed. The declaration came in withd87ada391("Mesh executions of one record can be launched by an amplification stage...",NotRexed, Nov 30 20:55 -0500); the file did not.After, measured:
That remaining failure is
mainfailing its own asset policy on two source files over 640 KiB, and #2815 fixes it - it is the only red left, and it is not this.Why it went unnoticed, which is the point: it is
#[cfg(test)].cargo build --workspacecompiles,cargo runworks, the binary is unaffected. Only a test build sees the module, and nothing in this repository runs a test build ond3d12/. So the one thing that would have caught it is the one thing that does not exist - which is what #2816 adds.If
asbench.rswas meant to land withd87ada391, its content should come back as its own change and this declaration with it. Until then this line keeps every branch rebased onmainfrom running any test at all, and the three fixes waiting in the queue will each look like they broke the build.AI-assisted: yes - DeepSeek v4.1 (flash), which found it by running the workspace after a push to
main.Written with an AI assistant.