Commit 1e67221f07

Alex Rønne Petersen <alex@alexrp.com>
2024-08-08 23:00:20
std.Target: Change requiresLibC() to return true for aix.
AIX does not have a stable syscall interface; libc is required.
1 parent fc93ab7
Changed files (1)
lib
lib/std/Target.zig
@@ -571,6 +571,7 @@ pub const Os = struct {
     pub fn requiresLibC(os: Os) bool {
         return switch (os.tag) {
             .freebsd,
+            .aix,
             .netbsd,
             .driverkit,
             .macos,
@@ -593,7 +594,6 @@ pub const Os = struct {
             .ps3,
             .zos,
             .rtems,
-            .aix,
             .cuda,
             .nvcl,
             .amdhsa,