diff --git a/lib/compiler/aro/aro/target.zig b/lib/compiler/aro/aro/target.zig index 95be478230..56acb35835 100644 --- a/lib/compiler/aro/aro/target.zig +++ b/lib/compiler/aro/aro/target.zig @@ -626,7 +626,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 { .windows => "windows", .zos => "zos", .haiku => "haiku", - .minix => "minix", .rtems => "rtems", .aix => "aix", .cuda => "cuda", diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 9c87f4c425..f5bba9f2ee 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -29,7 +29,6 @@ pub const Os = struct { hurd, linux, liteos, - minix, plan9, rtems, serenity, @@ -151,7 +150,6 @@ pub const Os = struct { .ps3, .zos, .haiku, - .minix, .rtems, .aix, .cuda, @@ -382,7 +380,6 @@ pub const Os = struct { .ps3, .zos, .haiku, - .minix, .rtems, .aix, .cuda, @@ -580,7 +577,6 @@ pub const Os = struct { .fuchsia, .ps3, .zos, - .minix, .rtems, .aix, .cuda, @@ -685,7 +681,6 @@ pub const Abi = enum { .dragonfly, .ps3, .zos, - .minix, .rtems, .aix, .cuda, @@ -1843,7 +1838,6 @@ pub const DynamicLinker = struct { .fuchsia, .ps3, .zos, - .minix, .rtems, .aix, .cuda, @@ -2144,7 +2138,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { .illumos, .haiku, .fuchsia, - .minix, .serenity, => switch (target.cpu.arch) { .msp430 => switch (c_type) { diff --git a/lib/std/c.zig b/lib/std/c.zig index e006420f5c..92d36dd135 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -6619,7 +6619,7 @@ pub const Stat = switch (native_os) { }; pub const pthread_mutex_t = switch (native_os) { - .linux, .minix => extern struct { + .linux => extern struct { data: [data_len]u8 align(@alignOf(usize)) = [_]u8{0} ** data_len, const data_len = switch (native_abi) { @@ -6716,7 +6716,7 @@ pub const pthread_cond_t = switch (native_os) { magic: u16 = 0x4356, data: u64 = 0, }, - .fuchsia, .minix, .emscripten => extern struct { + .fuchsia, .emscripten => extern struct { data: [48]u8 align(@alignOf(usize)) = [_]u8{0} ** 48, }, else => void, diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 959d5fa658..b3f87821fa 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -142,7 +142,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { .opengl, .plan9, - .minix, .contiki, .other, => "unknown", @@ -212,7 +211,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType { .opencl, .opengl, .plan9, - .minix, .contiki, => .UnknownOS,