From 4bc5983e230582543c24cef3fb39a85129c7e900 Mon Sep 17 00:00:00 2001 From: fiestorra Date: Tue, 1 Dec 2026 04:38:01 +0100 Subject: [PATCH] gpu: drop the 'asbench' module declaration whose file was never committed 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 d87ada391; the file did not. Either it lands or the line goes, and until then every branch rebased on main cannot run the suite. --- d3d12/crates/leonida-gpu/src/indirect.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/d3d12/crates/leonida-gpu/src/indirect.rs b/d3d12/crates/leonida-gpu/src/indirect.rs index a9e4cbb1a9..25a51e859b 100644 --- a/d3d12/crates/leonida-gpu/src/indirect.rs +++ b/d3d12/crates/leonida-gpu/src/indirect.rs @@ -4032,8 +4032,6 @@ void main() { /// The benchmark of the clamp and its barriers (ignored by default). #[cfg(test)] mod bench; -#[cfg(test)] -mod asbench; /// What one small draw costs this card, bare and with one thing changed /// between every two draws: a measurement, not a check (it asserts only