mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
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
This commit is contained in:
parent
4d4a023042
commit
e211dce6fc
@ -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",
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user