authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-21 09:16:08+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-21 19:49:58+02:00
log1c5c72543181ae7a5c069f42542737186307996f
tree4119f4e81d33a75d4bce8abde6eb50deb1e94447
parentcce7615805e2f6cd750c8d6f10d3912dab0d6f2f
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

remove mips64el-openbsd support

OpenBSD 8.0 dropped this target.

8 files changed, 3 insertions(+), 17 deletions(-)

lib/std/Target.zig-1
...@@ -2907,7 +2907,6 @@ pub const DynamicLinker = struct {...@@ -2907,7 +2907,6 @@ pub const DynamicLinker = struct {
2907 .hppa,2907 .hppa,
2908 .m88k,2908 .m88k,
2909 .mips64,2909 .mips64,
2910 .mips64el,
2911 .powerpc,2910 .powerpc,
2912 .powerpc64,2911 .powerpc64,
2913 .riscv64,2912 .riscv64,
lib/std/debug/SelfInfo/Elf.zig-1
...@@ -189,7 +189,6 @@ pub const can_unwind: bool = s: {...@@ -189,7 +189,6 @@ pub const can_unwind: bool = s: {
189 .arm,189 .arm,
190 .m88k,190 .m88k,
191 .mips64,191 .mips64,
192 .mips64el,
193 .riscv64,192 .riscv64,
194 .x86,193 .x86,
195 .x86_64,194 .x86_64,
lib/std/debug/cpu_context.zig+1-1
...@@ -2534,7 +2534,7 @@ const signal_ucontext_t = switch (native_os) {...@@ -2534,7 +2534,7 @@ const signal_ucontext_t = switch (native_os) {
2534 },2534 },
2535 },2535 },
2536 // https://github.com/openbsd/src/blob/42468faed8369d07ae49ae02dd71ec34f59b66cd/sys/arch/mips64/include/signal.h2536 // https://github.com/openbsd/src/blob/42468faed8369d07ae49ae02dd71ec34f59b66cd/sys/arch/mips64/include/signal.h
2537 .mips64, .mips64el => extern struct {2537 .mips64 => extern struct {
2538 _cookie: i64,2538 _cookie: i64,
2539 _mask: i64,2539 _mask: i64,
2540 mcontext: extern struct {2540 mcontext: extern struct {
lib/std/heap.zig+2-2
...@@ -624,7 +624,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {...@@ -624,7 +624,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
624 .x86, .x86_64 => 4 << 10,624 .x86, .x86_64 => 4 << 10,
625 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,625 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,
626 .m88k => 4 << 10,626 .m88k => 4 << 10,
627 .mips64, .mips64el => 4 << 10,627 .mips64 => 4 << 10,
628 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,628 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,
629 .riscv64 => 4 << 10,629 .riscv64 => 4 << 10,
630 .sh, .sheb => 4 << 10,630 .sh, .sheb => 4 << 10,
...@@ -788,7 +788,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {...@@ -788,7 +788,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
788 .x86, .x86_64 => 4 << 10,788 .x86, .x86_64 => 4 << 10,
789 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,789 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,
790 .m88k => 4 << 10,790 .m88k => 4 << 10,
791 .mips64, .mips64el => 16 << 10,791 .mips64 => 16 << 10,
792 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,792 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,
793 .riscv64 => 4 << 10,793 .riscv64 => 4 << 10,
794 .sh, .sheb => 4 << 10,794 .sh, .sheb => 4 << 10,
lib/std/zig/target.zig-1
...@@ -77,7 +77,6 @@ pub const available_libcs = [_]ArchOsAbi{...@@ -77,7 +77,6 @@ pub const available_libcs = [_]ArchOsAbi{
77 .{ .arch = .mips64el, .os = .linux, .abi = .gnuabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 }, .glibc_triple = "mips64el-linux-gnu-n32" },77 .{ .arch = .mips64el, .os = .linux, .abi = .gnuabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 }, .glibc_triple = "mips64el-linux-gnu-n32" },
78 .{ .arch = .mips64el, .os = .linux, .abi = .muslabi64, .os_ver = .{ .major = 2, .minor = 3, .patch = 48 } },78 .{ .arch = .mips64el, .os = .linux, .abi = .muslabi64, .os_ver = .{ .major = 2, .minor = 3, .patch = 48 } },
79 .{ .arch = .mips64el, .os = .linux, .abi = .muslabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 } },79 .{ .arch = .mips64el, .os = .linux, .abi = .muslabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 } },
80 .{ .arch = .mips64el, .os = .openbsd, .abi = .none, .os_ver = .{ .major = 4, .minor = 7, .patch = 0 } },
81 .{ .arch = .powerpc, .os = .linux, .abi = .musleabi, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },80 .{ .arch = .powerpc, .os = .linux, .abi = .musleabi, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },
82 .{ .arch = .powerpc, .os = .linux, .abi = .musleabihf, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },81 .{ .arch = .powerpc, .os = .linux, .abi = .musleabihf, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },
83 .{ .arch = .powerpc, .os = .netbsd, .abi = .eabihf, .os_ver = .{ .major = 1, .minor = 4, .patch = 0 } },82 .{ .arch = .powerpc, .os = .netbsd, .abi = .eabihf, .os_ver = .{ .major = 1, .minor = 4, .patch = 0 } },
src/libs/openbsd.zig-1
...@@ -90,7 +90,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre...@@ -90,7 +90,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre
90 try includePath(comp, arena, "generic-openbsd"),90 try includePath(comp, arena, "generic-openbsd"),
91 "-I",91 "-I",
92 try csuPath(comp, arena, switch (target.cpu.arch) {92 try csuPath(comp, arena, switch (target.cpu.arch) {
93 .mips64el => "mips64",
94 .x86 => "i386",93 .x86 => "i386",
95 .x86_64 => "amd64",94 .x86_64 => "amd64",
96 else => |t| @tagName(t),95 else => |t| @tagName(t),
test/llvm/matrix.zon-1
...@@ -173,7 +173,6 @@...@@ -173,7 +173,6 @@
173 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabi64 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },173 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabi64 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
174 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabin32 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },174 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabin32 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
175 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },175 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
176 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .openbsd = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
177176
178 .{ .cpu = .{ .msp430 = .{} }, .os = .{ .freestanding = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },177 .{ .cpu = .{ .msp430 = .{} }, .os = .{ .freestanding = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
179178
test/tests.zig-9
...@@ -1528,15 +1528,6 @@ const module_test_targets = blk: {...@@ -1528,15 +1528,6 @@ const module_test_targets = blk: {
1528 .link_libc = true,1528 .link_libc = true,
1529 },1529 },
15301530
1531 .{
1532 .target = .{
1533 .cpu_arch = .mips64el,
1534 .os_tag = .openbsd,
1535 .abi = .none,
1536 },
1537 .link_libc = true,
1538 },
1539
1540 .{1531 .{
1541 .target = .{1532 .target = .{
1542 .cpu_arch = .powerpc,1533 .cpu_arch = .powerpc,