std.os.linux: Adjust for rename of mips syscall enums.

This commit is contained in:
Alex Rønne Petersen 2024-07-26 06:01:06 +02:00
parent e77b3ff74f
commit 7e0f9c45f2
No known key found for this signature in database

View File

@ -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"),