From 8debb6c420598e2eed77294cf4a32b5769409680 Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 23 Oct 2026 20:10:26 +0000 Subject: [PATCH] xtask: the panic hunt without nextest builds with the HEIF decoder --- xtask/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 545bce9d23..0a90684252 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -231,8 +231,9 @@ fn cmd_gate_tests(panic_hunt: bool) -> Result<(), String> { c.args(["--run-ignored", "only", "-E", "binary_id(photocraft-engine::panic_hunt)"]); } } else if panic_hunt { - // `-- --ignored` across the workspace would run every ignored test, not only the hunt. - c.args(["test", "-p", "photocraft-engine", "--locked", "--test", "panic_hunt", "--", "--ignored"]); + // `-- --ignored` across the workspace would run every ignored test, not only the hunt. The + // engine has no `heif` feature of its own; it reaches the decoder through photocraft-io. + c.args(["test", "-p", "photocraft-engine", "--locked", "--features", "photocraft-io/heif", "--test", "panic_hunt", "--", "--ignored"]); } else { eprintln!("note: cargo-nextest is not installed, running cargo test (cargo install cargo-nextest --locked)"); c.arg("test").args(GATE_ARGS).args(&TEST_TARGETS[1..]);