diff --git a/src/lib.rs b/src/lib.rs index f8ff0fc..7535c74 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1142,6 +1142,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option)> { ("linux", "unix", "ohos") } else if target.contains("aix") { ("aix", "unix", "") + } else if target.contains("hurd") { + ("hurd", "unix", "gnu") } else { panic!("unknown os/family: {}", target) };