mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
std.Target: Change requiresLibC() to return true for aix.
AIX does not have a stable syscall interface; libc is required.
This commit is contained in:
parent
fc93ab7182
commit
1e67221f07
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user