Skip to content

Commit 2a07050

Browse files
authored
Merge pull request #4366 from Berrysoft/cygwin-ctest
Add cygwin support for ctest
2 parents d834ef5 + 260c545 commit 2a07050

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ctest/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11441144
("aix", "unix", "")
11451145
} else if target.contains("hurd") {
11461146
("hurd", "unix", "gnu")
1147+
} else if target.contains("cygwin") {
1148+
("cygwin", "unix", "")
11471149
} else {
11481150
panic!("unknown os/family: {}", target)
11491151
};

0 commit comments

Comments
 (0)