mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.Target: allegrex mips CPU can only be little endian
This commit is contained in:
+2
-1
@@ -2035,7 +2035,8 @@ pub const Cpu = struct {
|
||||
.lanai => &lanai.cpu.v11, // clang does not have a generic lanai model.
|
||||
.loongarch64 => &loongarch.cpu.la64v1_0,
|
||||
.m68k => &m68k.cpu.M68000,
|
||||
.mips, .mipsel => switch (os.tag) {
|
||||
.mips => &mips.cpu.mips32r2,
|
||||
.mipsel => switch (os.tag) {
|
||||
.psp => &mips.cpu.allegrex,
|
||||
else => &mips.cpu.mips32r2,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user