We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de48f75 + 51e5899 commit e945a90Copy full SHA for e945a90
src/cargo/core/shell.rs
@@ -287,7 +287,7 @@ impl ColorChoice {
287
}
288
289
290
-#[cfg(unix)]
+#[cfg(any(target_os = "linux", target_os = "macos"))]
291
mod imp {
292
use std::mem;
293
@@ -308,6 +308,13 @@ mod imp {
308
309
310
311
+#[cfg(all(unix, not(any(target_os = "linux", target_os = "macos"))))]
312
+mod imp {
313
+ pub fn stderr_width() -> Option<usize> {
314
+ None
315
+ }
316
+}
317
+
318
#[cfg(windows)]
319
320
0 commit comments