diff --git a/ctest/src/lib.rs b/ctest/src/lib.rs index 084be8bf02fe3..be032e52e6f6f 100644 --- a/ctest/src/lib.rs +++ b/ctest/src/lib.rs @@ -1144,6 +1144,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option)> { ("aix", "unix", "") } else if target.contains("hurd") { ("hurd", "unix", "gnu") + } else if target.contains("cygwin") { + ("cygwin", "unix", "") } else { panic!("unknown os/family: {}", target) };