fix: guard guardian_command_source_tool_name with cfg(unix) (#16498)

This currently contributing to `rust-ci-full.yml` being red on `main`
for windows lint builds due to the cargo/bazel coverage gap that I'm
working on. Hopefully this gets us back on track.
This commit is contained in:
Michael Bolin
2026-04-01 20:16:44 -07:00
committed by GitHub
parent 0b856a4757
commit c2699c666c

View File

@@ -160,6 +160,7 @@ fn command_assessment_action(
}
}
#[cfg(unix)]
fn guardian_command_source_tool_name(source: GuardianCommandSource) -> &'static str {
match source {
GuardianCommandSource::Shell => "shell",