commit 7e0f9c45f2ee6980cf6582c8f7ef09f3e10f200e (tree)
parent e77b3ff74f11a697ce24f4538fda6f9a227f8697
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 26 Jul 2024 06:01:06 +0200
std.os.linux: Adjust for rename of mips syscall enums.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
@@ -108,8 +108,8 @@ pub const SYS = switch (@import("builtin").cpu.arch) {
.riscv32 => syscalls.RiscV32,
.riscv64 => syscalls.RiscV64,
.sparc64 => syscalls.Sparc64,
- .mips, .mipsel => syscalls.Mips,
- .mips64, .mips64el => syscalls.Mips64,
+ .mips, .mipsel => syscalls.MipsO32,
+ .mips64, .mips64el => syscalls.MipsN64,
.powerpc, .powerpcle => syscalls.PowerPC,
.powerpc64, .powerpc64le => syscalls.PowerPC64,
else => @compileError("The Zig Standard Library is missing syscall definitions for the target CPU architecture"),