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 {...@@ -626,7 +626,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
626 .windows => "windows",626 .windows => "windows",
627 .zos => "zos",627 .zos => "zos",
628 .haiku => "haiku",628 .haiku => "haiku",
629 .minix => "minix",
630 .rtems => "rtems",629 .rtems => "rtems",
631 .aix => "aix",630 .aix => "aix",
632 .cuda => "cuda",631 .cuda => "cuda",
lib/std/Target.zig-7
...@@ -29,7 +29,6 @@ pub const Os = struct {...@@ -29,7 +29,6 @@ pub const Os = struct {
29 hurd,29 hurd,
30 linux,30 linux,
31 liteos,31 liteos,
32 minix,
33 plan9,32 plan9,
34 rtems,33 rtems,
35 serenity,34 serenity,
...@@ -151,7 +150,6 @@ pub const Os = struct {...@@ -151,7 +150,6 @@ pub const Os = struct {
151 .ps3,150 .ps3,
152 .zos,151 .zos,
153 .haiku,152 .haiku,
154 .minix,
155 .rtems,153 .rtems,
156 .aix,154 .aix,
157 .cuda,155 .cuda,
...@@ -382,7 +380,6 @@ pub const Os = struct {...@@ -382,7 +380,6 @@ pub const Os = struct {
382 .ps3,380 .ps3,
383 .zos,381 .zos,
384 .haiku,382 .haiku,
385 .minix,
386 .rtems,383 .rtems,
387 .aix,384 .aix,
388 .cuda,385 .cuda,
...@@ -580,7 +577,6 @@ pub const Os = struct {...@@ -580,7 +577,6 @@ pub const Os = struct {
580 .fuchsia,577 .fuchsia,
581 .ps3,578 .ps3,
582 .zos,579 .zos,
583 .minix,
584 .rtems,580 .rtems,
585 .aix,581 .aix,
586 .cuda,582 .cuda,
...@@ -685,7 +681,6 @@ pub const Abi = enum {...@@ -685,7 +681,6 @@ pub const Abi = enum {
685 .dragonfly,681 .dragonfly,
686 .ps3,682 .ps3,
687 .zos,683 .zos,
688 .minix,
689 .rtems,684 .rtems,
690 .aix,685 .aix,
691 .cuda,686 .cuda,
...@@ -1843,7 +1838,6 @@ pub const DynamicLinker = struct {...@@ -1843,7 +1838,6 @@ pub const DynamicLinker = struct {
1843 .fuchsia,1838 .fuchsia,
1844 .ps3,1839 .ps3,
1845 .zos,1840 .zos,
1846 .minix,
1847 .rtems,1841 .rtems,
1848 .aix,1842 .aix,
1849 .cuda,1843 .cuda,
...@@ -2144,7 +2138,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {...@@ -2144,7 +2138,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
2144 .illumos,2138 .illumos,
2145 .haiku,2139 .haiku,
2146 .fuchsia,2140 .fuchsia,
2147 .minix,
2148 .serenity,2141 .serenity,
2149 => switch (target.cpu.arch) {2142 => switch (target.cpu.arch) {
2150 .msp430 => switch (c_type) {2143 .msp430 => switch (c_type) {
lib/std/c.zig+2-2
...@@ -6619,7 +6619,7 @@ pub const Stat = switch (native_os) {...@@ -6619,7 +6619,7 @@ pub const Stat = switch (native_os) {
6619};6619};
66206620
6621pub const pthread_mutex_t = switch (native_os) {6621pub const pthread_mutex_t = switch (native_os) {
6622 .linux, .minix => extern struct {6622 .linux => extern struct {
6623 data: [data_len]u8 align(@alignOf(usize)) = [_]u8{0} ** data_len,6623 data: [data_len]u8 align(@alignOf(usize)) = [_]u8{0} ** data_len,
66246624
6625 const data_len = switch (native_abi) {6625 const data_len = switch (native_abi) {
...@@ -6716,7 +6716,7 @@ pub const pthread_cond_t = switch (native_os) {...@@ -6716,7 +6716,7 @@ pub const pthread_cond_t = switch (native_os) {
6716 magic: u16 = 0x4356,6716 magic: u16 = 0x4356,
6717 data: u64 = 0,6717 data: u64 = 0,
6718 },6718 },
6719 .fuchsia, .minix, .emscripten => extern struct {6719 .fuchsia, .emscripten => extern struct {
6720 data: [48]u8 align(@alignOf(usize)) = [_]u8{0} ** 48,6720 data: [48]u8 align(@alignOf(usize)) = [_]u8{0} ** 48,
6721 },6721 },
6722 else => void,6722 else => void,
src/codegen/llvm.zig-2
...@@ -142,7 +142,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {...@@ -142,7 +142,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
142142
143 .opengl,143 .opengl,
144 .plan9,144 .plan9,
145 .minix,
146 .contiki,145 .contiki,
147 .other,146 .other,
148 => "unknown",147 => "unknown",
...@@ -212,7 +211,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {...@@ -212,7 +211,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
212 .opencl,211 .opencl,
213 .opengl,212 .opengl,
214 .plan9,213 .plan9,
215 .minix,
216 .contiki,214 .contiki,
217 => .UnknownOS,215 => .UnknownOS,
218216