From 98eadffdd2d769fa317997f8e0cf114400f2bab2 Mon Sep 17 00:00:00 2001 From: TimotheusG Date: Mon, 19 Oct 2026 12:56:33 -0400 Subject: [PATCH 1/2] test(engine): guard the Unix-only importer fixture --- crates/engine/src/doc_path/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/engine/src/doc_path/tests.rs b/crates/engine/src/doc_path/tests.rs index b8dcbc190..a3944bebc 100644 --- a/crates/engine/src/doc_path/tests.rs +++ b/crates/engine/src/doc_path/tests.rs @@ -35,8 +35,10 @@ impl Services for Recording { } /// Probes every file as a still. +#[cfg(unix)] struct Stills; +#[cfg(unix)] impl crate::Importer for Stills { fn probe(&self, path: &str) -> Result { if !std::path::Path::new(path).is_file() { From 4ba53e7545f6ee4958062453cda346fbdd9577b6 Mon Sep 17 00:00:00 2001 From: TimotheusG Date: Mon, 19 Oct 2026 18:26:34 -0400 Subject: [PATCH 2/2] docs(test): describe the Unix still-image fixture --- crates/engine/src/doc_path/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/src/doc_path/tests.rs b/crates/engine/src/doc_path/tests.rs index a3944bebc..718af0e6f 100644 --- a/crates/engine/src/doc_path/tests.rs +++ b/crates/engine/src/doc_path/tests.rs @@ -40,6 +40,7 @@ struct Stills; #[cfg(unix)] impl crate::Importer for Stills { + /// Treat an existing test file as a still image without decoding its bytes. fn probe(&self, path: &str) -> Result { if !std::path::Path::new(path).is_file() { return Err(format!("{path}: no such file"));