From dfd7b7f2337d84ce660253a37079489f7780b055 Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Wed, 12 Nov 2025 16:04:17 +0100 Subject: 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. --- src/codegen/llvm.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/codegen/llvm.zig') 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 -- cgit v1.2.3