Skip to content

Commit 9cfd075

Browse files
committed
Add support for GNU/Hurd
1 parent 54ab692 commit 9cfd075

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
@@ -1142,6 +1142,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11421142
("linux", "unix", "ohos")
11431143
} else if target.contains("aix") {
11441144
("aix", "unix", "")
1145+
} else if target.contains("hurd") {
1146+
("hurd", "unix", "gnu")
11451147
} else {
11461148
panic!("unknown os/family: {}", target)
11471149
};

0 commit comments

Comments
 (0)