authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-30 02:17:00+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-30 06:30:26+02:00
logb49b7501cf040349eb6d86b63041c5152f23e5e8
treec11118a99b3e041d3b466ad6d7b9b513ac811122
parentef06e4b6e41b44b6be7417f2e29d7546aefa7b5e
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Remove `cloudabi` OS tag.

It's discontinued in favor of WASI. https://github.com/NuxiNL/cloudlibc

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 .cloudabi => "cloudabi",
618617 .dragonfly => "dragonfly",
619618 .freebsd => "freebsd",
620619 .fuchsia => "fuchsia",
lib/std/Target.zig-7
......@@ -17,7 +17,6 @@ pub const Os = struct {
1717
1818 pub const Tag = enum {
1919 freestanding,
20 cloudabi,
2120 dragonfly,
2221 freebsd,
2322 fuchsia,
......@@ -139,7 +138,6 @@ pub const Os = struct {
139138 pub inline fn getVersionRangeTag(tag: Tag) @typeInfo(TaggedVersionRange).Union.tag_type.? {
140139 return switch (tag) {
141140 .freestanding,
142 .cloudabi,
143141 .fuchsia,
144142 .ps3,
145143 .zos,
......@@ -370,7 +368,6 @@ pub const Os = struct {
370368 pub fn default(tag: Tag, arch: Cpu.Arch) VersionRange {
371369 return switch (tag) {
372370 .freestanding,
373 .cloudabi,
374371 .fuchsia,
375372 .ps3,
376373 .zos,
......@@ -556,7 +553,6 @@ pub const Os = struct {
556553 .linux,
557554 .windows,
558555 .freestanding,
559 .cloudabi,
560556 .fuchsia,
561557 .ps3,
562558 .zos,
......@@ -662,7 +658,6 @@ pub const Abi = enum {
662658 pub fn default(arch: Cpu.Arch, os: Os) Abi {
663659 return if (arch.isWasm()) .musl else switch (os.tag) {
664660 .freestanding,
665 .cloudabi,
666661 .dragonfly,
667662 .ps3,
668663 .zos,
......@@ -1791,7 +1786,6 @@ pub const DynamicLinker = struct {
17911786
17921787 // TODO go over each item in this list and either move it to the above list, or
17931788 // implement the standard dynamic linker path code for it.
1794 .cloudabi,
17951789 .fuchsia,
17961790 .ps3,
17971791 .zos,
......@@ -2275,7 +2269,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
22752269 .longdouble => return 80,
22762270 },
22772271
2278 .cloudabi,
22792272 .ps3,
22802273 .zos,
22812274 .rtems,
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 .cloudabi,
137136 .minix,
138137 .contiki,
139138 .other,
......@@ -204,7 +203,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
204203 .opencl,
205204 .glsl450,
206205 .plan9,
207 .cloudabi,
208206 .minix,
209207 .contiki,
210208 => .UnknownOS,