From 180fdb3b41d0a4f04bdb9716679076c7d8177f90 Mon Sep 17 00:00:00 2001 From: LochLogic <252105752+LochLogic@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:49:57 -0600 Subject: [PATCH] CI: catalog's staging-link test module compiles only on Unix (clippy -D warnings on Windows) `tests_staging` holds one `#[cfg(unix)]` test (#1502), so on Windows its `use super::*` is unused and `cargo clippy --workspace --all-targets -- -D warnings` (the clippy step of `cargo xtask ci`) fails in lightcraft-catalog. Gate the module itself on Unix. Co-Authored-By: Claude Opus 5.5 --- crates/catalog/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/catalog/src/store.rs b/crates/catalog/src/store.rs index 2f3dc4912..553eb241f 100644 --- a/crates/catalog/src/store.rs +++ b/crates/catalog/src/store.rs @@ -242,7 +242,7 @@ impl Store for MemStore { } } -#[cfg(test)] +#[cfg(all(test, unix))] mod tests_staging { use super::*;