diff --git a/mux/Cargo.toml b/mux/Cargo.toml index 89391d530..5972cd469 100644 --- a/mux/Cargo.toml +++ b/mux/Cargo.toml @@ -36,7 +36,7 @@ url = "2" wezterm-ssh = { path = "../wezterm-ssh" } wezterm-term = { path = "../term", features=["use_serde"] } -[target.'cfg(all(windows, target_os="linux", target_os="macos"))'.dependencies] +[target.'cfg(any(windows, target_os="linux", target_os="macos"))'.dependencies] sysinfo = "0.16" [dev-dependencies] diff --git a/mux/src/localpane.rs b/mux/src/localpane.rs index 4ec9222ba..5f006ac46 100644 --- a/mux/src/localpane.rs +++ b/mux/src/localpane.rs @@ -598,7 +598,7 @@ impl LocalPane { #[allow(unused_mut)] let mut proc_names = vec![]; - #[cfg(all(windows, target_os = "linux", target_os = "macos"))] + #[cfg(any(windows, target_os = "linux", target_os = "macos"))] if let ProcessState::Running { child, .. } = &*self.process.borrow() { if let Some(pid) = child.process_id() { use sysinfo::{Pid, ProcessExt, RefreshKind, System, SystemExt};