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 {
571571 pub fn requiresLibC(os: Os) bool {
572572 return switch (os.tag) {
573573 .freebsd,
574 .aix,
574575 .netbsd,
575576 .driverkit,
576577 .macos,
......@@ -593,7 +594,6 @@ pub const Os = struct {
593594 .ps3,
594595 .zos,
595596 .rtems,
596 .aix,
597597 .cuda,
598598 .nvcl,
599599 .amdhsa,