authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-10 17:38:49+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-12 08:59:49+02:00
loge211dce6fc7fecfea69acf548e751677879088b5
tree8aa454517dbf56800d598485b59fdd0f29c6268c
parent4d4a023042f7a60fe0cac618df1d7e98cbb322a4
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Remove minix OS tag.

It has not seen development in 6 years. RIP. * https://github.com/Stichting-MINIX-Research-Foundation/minix/commits/master * https://groups.google.com/g/minix3/c/nUG1NwxXXkg

4 files changed, 2 insertions(+), 12 deletions(-)

lib/compiler/aro/aro/target.zig-1
......@@ -626,7 +626,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
626626 .windows => "windows",
627627 .zos => "zos",
628628 .haiku => "haiku",
629 .minix => "minix",
630629 .rtems => "rtems",
631630 .aix => "aix",
632631 .cuda => "cuda",
lib/std/Target.zig-7
......@@ -29,7 +29,6 @@ pub const Os = struct {
2929 hurd,
3030 linux,
3131 liteos,
32 minix,
3332 plan9,
3433 rtems,
3534 serenity,
......@@ -151,7 +150,6 @@ pub const Os = struct {
151150 .ps3,
152151 .zos,
153152 .haiku,
154 .minix,
155153 .rtems,
156154 .aix,
157155 .cuda,
......@@ -382,7 +380,6 @@ pub const Os = struct {
382380 .ps3,
383381 .zos,
384382 .haiku,
385 .minix,
386383 .rtems,
387384 .aix,
388385 .cuda,
......@@ -580,7 +577,6 @@ pub const Os = struct {
580577 .fuchsia,
581578 .ps3,
582579 .zos,
583 .minix,
584580 .rtems,
585581 .aix,
586582 .cuda,
......@@ -685,7 +681,6 @@ pub const Abi = enum {
685681 .dragonfly,
686682 .ps3,
687683 .zos,
688 .minix,
689684 .rtems,
690685 .aix,
691686 .cuda,
......@@ -1843,7 +1838,6 @@ pub const DynamicLinker = struct {
18431838 .fuchsia,
18441839 .ps3,
18451840 .zos,
1846 .minix,
18471841 .rtems,
18481842 .aix,
18491843 .cuda,
......@@ -2144,7 +2138,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
21442138 .illumos,
21452139 .haiku,
21462140 .fuchsia,
2147 .minix,
21482141 .serenity,
21492142 => switch (target.cpu.arch) {
21502143 .msp430 => switch (c_type) {
lib/std/c.zig+2-2
......@@ -6619,7 +6619,7 @@ pub const Stat = switch (native_os) {
66196619};
66206620
66216621pub const pthread_mutex_t = switch (native_os) {
6622 .linux, .minix => extern struct {
6622 .linux => extern struct {
66236623 data: [data_len]u8 align(@alignOf(usize)) = [_]u8{0} ** data_len,
66246624
66256625 const data_len = switch (native_abi) {
......@@ -6716,7 +6716,7 @@ pub const pthread_cond_t = switch (native_os) {
67166716 magic: u16 = 0x4356,
67176717 data: u64 = 0,
67186718 },
6719 .fuchsia, .minix, .emscripten => extern struct {
6719 .fuchsia, .emscripten => extern struct {
67206720 data: [48]u8 align(@alignOf(usize)) = [_]u8{0} ** 48,
67216721 },
67226722 else => void,
src/codegen/llvm.zig-2
......@@ -142,7 +142,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
142142
143143 .opengl,
144144 .plan9,
145 .minix,
146145 .contiki,
147146 .other,
148147 => "unknown",
......@@ -212,7 +211,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
212211 .opencl,
213212 .opengl,
214213 .plan9,
215 .minix,
216214 .contiki,
217215 => .UnknownOS,
218216