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.
This commit is contained in:
Sylvestre Ledru
2026-03-30 19:14:24 +02:00
parent fa1c4fec53
commit b553e0b1eb
+6
View File
@@ -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") {