From 469f66a6182860de8fbfad37ae5847bd51794028 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 30 Nov 2024 16:47:29 +0100 Subject: [PATCH] Add support for GNU/Hurd --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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) };