From c7a7cc454ac116467ce48365e075eb8ce53e458c Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Fri, 11 Sep 2026 20:12:49 +0400 Subject: fix: lint all targets on windows (#3963) Native Windows lint and check only clippy-checked the herdr binary, while macOS and Linux run clippy across all targets. Enable --all-targets on Windows and gate the Unix-only test helpers that this exposed so Windows check matches the Unix one. --- src/client/terminal_geometry.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/terminal_geometry.rs') diff --git a/src/client/terminal_geometry.rs b/src/client/terminal_geometry.rs index aaf216df..d9120b0d 100644 --- a/src/client/terminal_geometry.rs +++ b/src/client/terminal_geometry.rs @@ -3,7 +3,7 @@ use std::sync::atomic::{AtomicBool, AtomicU64, Ordering}; use std::sync::Arc; use std::time::Duration; -#[cfg(any(unix, test))] +#[cfg(unix)] use tracing::debug; use super::ClientLoopEvent; @@ -177,7 +177,7 @@ pub(super) fn resize_poll_loop( } } -#[cfg(any(not(windows), test))] +#[cfg(not(windows))] pub(super) fn query_host_terminal_appearance() { let _ = write_host_terminal_appearance_query(io::stdout()); } @@ -223,7 +223,7 @@ pub(super) fn write_host_cell_size_query(mut writer: impl io::Write) -> io::Resu writer.flush() } -#[cfg(any(unix, test))] +#[cfg(unix)] pub(super) fn store_reported_cell_size( reported_cell_size: &AtomicU64, width_px: u32, -- cgit v1.2.3