authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 23:00:20+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-15 10:55:46+02:00
log1e67221f07705c124ef5d67769378d1acce95353
tree71ae260e8c3ef74cbf0b00bb525ea47f82d6e840
parentfc93ab7182662bad6826b827e8bcf034fc90c3f8
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Change requiresLibC() to return true for aix.

AIX does not have a stable syscall interface; libc is required.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Target.zig+1-1
...@@ -571,6 +571,7 @@ pub const Os = struct {...@@ -571,6 +571,7 @@ pub const Os = struct {
571 pub fn requiresLibC(os: Os) bool {571 pub fn requiresLibC(os: Os) bool {
572 return switch (os.tag) {572 return switch (os.tag) {
573 .freebsd,573 .freebsd,
574 .aix,
574 .netbsd,575 .netbsd,
575 .driverkit,576 .driverkit,
576 .macos,577 .macos,
...@@ -593,7 +594,6 @@ pub const Os = struct {...@@ -593,7 +594,6 @@ pub const Os = struct {
593 .ps3,594 .ps3,
594 .zos,595 .zos,
595 .rtems,596 .rtems,
596 .aix,
597 .cuda,597 .cuda,
598 .nvcl,598 .nvcl,
599 .amdhsa,599 .amdhsa,