From da3454da12a50822a617dfdec2dbe943144281cd Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Tue, 2 Apr 2024 04:02:41 -0400 Subject: [PATCH] Support AIX --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index d3c4b1a..29985a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1138,6 +1138,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option)> { ("nto", "unix", env) } else if target.contains("linux-ohos") { ("linux", "unix", "ohos") + } else if target.contains("aix") { + ("aix", "unix", "") } else { panic!("unknown os/family: {}", target) };