aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-11-12 16:04:17 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-11-12 22:39:04 +0100
commitdfd7b7f2337d84ce660253a37079489f7780b055 (patch)
treef66bd79c031553c05c159f1e0fc3b1d3e21cc821 /src/codegen/llvm.zig
parent92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d (diff)
downloadzig-dfd7b7f2337d84ce660253a37079489f7780b055.tar.gz
zig-dfd7b7f2337d84ce660253a37079489f7780b055.zip
std.Target: remove Abi.cygnus
There is approximately zero chance of the Zig team ever spending any effort on supporting Cygwin; the MSVC and MinGW-w64 ABIs are superior in every way that matters, and not least because they lead to binaries that just run natively on Windows without needing a POSIX emulation environment installed.
Diffstat (limited to 'src/codegen/llvm.zig')
-rw-r--r--src/codegen/llvm.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 10b90e25b8..5fec68e4d9 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -295,7 +295,6 @@ pub fn targetTriple(allocator: Allocator, target: *const std.Target) ![]const u8
.muslx32 => "muslx32",
.msvc => "msvc",
.itanium => "itanium",
- .cygnus => "cygnus",
.simulator => "simulator",
.macabi => "macabi",
.ohos, .ohoseabi => "ohos",
@@ -420,7 +419,6 @@ pub fn dataLayout(target: *const std.Target) []const u8 {
.sparc64 => "E-m:e-i64:64-i128:128-n32:64-S128",
.s390x => "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64",
.x86 => if (target.os.tag == .windows or target.os.tag == .uefi) switch (target.abi) {
- .cygnus => "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32",
.gnu => if (target.ofmt == .coff)
"e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32"
else