fix(dependencies): read the tool name only where a replay can pin it

host_tool_available's name is consulted only under a conformance replay
(test builds, unix), so the release build failed workspace Clippy with
unused_variables (batch 8 clippy log). Bind it explicitly outside that cfg.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: CodeWhale Bot <[email protected]>
This commit is contained in:
CodeWhale BotandClaude Opus 5.5 committed 2026-09-30 11:48:06 -07:00
1 parent 69aa57e6d4
commit 0989ccb307
1 file changed
+3
+3
View File
@@ -282,6 +282,9 @@ pub(crate) fn host_tool_available(tool: &str, probe: impl FnOnce() -> bool) -> b
}) {
return available;
}
// Only a conformance replay reads the name.
#[cfg(not(all(test, unix)))]
let _ = tool;
probe()
}