diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-11 20:12:49 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-11 18:12:49 +0200 |
| commit | c7a7cc454ac116467ce48365e075eb8ce53e458c (patch) | |
| tree | 2c31da71c3530cd129d140beac2d680b26c12800 /src/client/terminal_geometry.rs | |
| parent | 871ff8b91f969a0d6d7fcd21ad028723a77bac6c (diff) | |
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.
Diffstat (limited to 'src/client/terminal_geometry.rs')
| -rw-r--r-- | src/client/terminal_geometry.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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, |
