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 17:49:30 +02:00
parent f6e36b58d3
commit e0b78e3963
+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") {