commit 1e67221f07705c124ef5d67769378d1acce95353 (tree)
parent fc93ab7182662bad6826b827e8bcf034fc90c3f8
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 8 Aug 2024 23:00:20 +0200
std.Target: Change requiresLibC() to return true for aix.
AIX does not have a stable syscall interface; libc is required.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Target.zig b/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,