authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-30 02:15:39+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-30 06:30:25+02:00
logef06e4b6e41b44b6be7417f2e29d7546aefa7b5e
treefc3d79d9c0a787e99b0f3bac0603cdb395e6846a
parentc8ca05e93a5ad482279c9dd95e330ed6c1027c3b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Remove `ananas` OS tag.

This is a fairly small hobby OS that has not seen development in 2 years. Our current policy is that hobby OSs should use the `other` tag. https://github.com/zhmu/ananas

3 files changed, 0 insertions(+), 10 deletions(-)

lib/compiler/aro/aro/target.zig-1
......@@ -614,7 +614,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
614614
615615 const llvm_os = switch (target.os.tag) {
616616 .freestanding => "unknown",
617 .ananas => "ananas",
618617 .cloudabi => "cloudabi",
619618 .dragonfly => "dragonfly",
620619 .freebsd => "freebsd",
lib/std/Target.zig-7
......@@ -17,7 +17,6 @@ pub const Os = struct {
1717
1818 pub const Tag = enum {
1919 freestanding,
20 ananas,
2120 cloudabi,
2221 dragonfly,
2322 freebsd,
......@@ -140,7 +139,6 @@ pub const Os = struct {
140139 pub inline fn getVersionRangeTag(tag: Tag) @typeInfo(TaggedVersionRange).Union.tag_type.? {
141140 return switch (tag) {
142141 .freestanding,
143 .ananas,
144142 .cloudabi,
145143 .fuchsia,
146144 .ps3,
......@@ -372,7 +370,6 @@ pub const Os = struct {
372370 pub fn default(tag: Tag, arch: Cpu.Arch) VersionRange {
373371 return switch (tag) {
374372 .freestanding,
375 .ananas,
376373 .cloudabi,
377374 .fuchsia,
378375 .ps3,
......@@ -559,7 +556,6 @@ pub const Os = struct {
559556 .linux,
560557 .windows,
561558 .freestanding,
562 .ananas,
563559 .cloudabi,
564560 .fuchsia,
565561 .ps3,
......@@ -666,7 +662,6 @@ pub const Abi = enum {
666662 pub fn default(arch: Cpu.Arch, os: Os) Abi {
667663 return if (arch.isWasm()) .musl else switch (os.tag) {
668664 .freestanding,
669 .ananas,
670665 .cloudabi,
671666 .dragonfly,
672667 .ps3,
......@@ -1796,7 +1791,6 @@ pub const DynamicLinker = struct {
17961791
17971792 // TODO go over each item in this list and either move it to the above list, or
17981793 // implement the standard dynamic linker path code for it.
1799 .ananas,
18001794 .cloudabi,
18011795 .fuchsia,
18021796 .ps3,
......@@ -2089,7 +2083,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
20892083 .solaris,
20902084 .illumos,
20912085 .haiku,
2092 .ananas,
20932086 .fuchsia,
20942087 .minix,
20952088 => switch (target.cpu.arch) {
src/codegen/llvm.zig-2
......@@ -133,7 +133,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
133133 .opencl,
134134 .glsl450,
135135 .plan9,
136 .ananas,
137136 .cloudabi,
138137 .minix,
139138 .contiki,
......@@ -205,7 +204,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
205204 .opencl,
206205 .glsl450,
207206 .plan9,
208 .ananas,
209207 .cloudabi,
210208 .minix,
211209 .contiki,