From e0b78e3963f499b01fbd57f4fdb3c68034723a53 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 30 Mar 2026 16:58:15 +0200 Subject: [PATCH] Add missing Haiku, DragonFly, and AIX to HOST_OS_NAME These platforms are supported in the unix platform module but were falling through to "unknown" in the HOST_OS_NAME constant. --- src/lib_impl.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib_impl.rs b/src/lib_impl.rs index aceca84..92231bb 100644 --- a/src/lib_impl.rs +++ b/src/lib_impl.rs @@ -97,6 +97,12 @@ const HOST_OS_NAME: &str = if cfg!(all( "illumos" } else if cfg!(target_os = "solaris") { "Solaris" +} else if cfg!(target_os = "haiku") { + "Haiku" +} else if cfg!(target_os = "dragonfly") { + "DragonFly" +} else if cfg!(target_os = "aix") { + "AIX" } else if cfg!(target_os = "cygwin") { "Cygwin" } else if cfg!(target_os = "wasi") {