mirror of
https://github.com/uutils/platform-info.git
synced 2026-06-10 15:48:45 -07:00
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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user