From 545c9ca62d90105fcff79ff3705ae11a5d29e8a3 Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Mon, 8 Apr 2024 22:29:46 -0400 Subject: [PATCH] Add support for AIX --- src/platform/unix.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/unix.rs b/src/platform/unix.rs index cbc26e0..f30a826 100644 --- a/src/platform/unix.rs +++ b/src/platform/unix.rs @@ -118,6 +118,7 @@ impl Debug for UTSName { // The domainname field is not part of the POSIX standard but a GNU extension. Therefor // BSD-like platforms and illumos are missing the domainname field. #[cfg(not(any( + target_os = "aix", target_os = "illumos", target_os = "macos", target_os = "dragonfly", @@ -152,6 +153,7 @@ impl PartialEq for UTSName { // The domainname field is not part of the POSIX standard but a GNU extension. Therefor // BSD-like platforms and illumos are missing the domainname field. #[cfg(not(any( + target_os = "aix", target_os = "illumos", target_os = "macos", target_os = "dragonfly",