diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-12 16:04:17 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-12 22:39:04 +0100 |
| commit | dfd7b7f2337d84ce660253a37079489f7780b055 (patch) | |
| tree | f66bd79c031553c05c159f1e0fc3b1d3e21cc821 /src/target.zig | |
| parent | 92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d (diff) | |
| download | zig-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/target.zig')
| -rw-r--r-- | src/target.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target.zig b/src/target.zig index c97ce21010..77765c2239 100644 --- a/src/target.zig +++ b/src/target.zig @@ -63,7 +63,7 @@ pub fn supports_fpic(target: *const std.Target) bool { return switch (target.os.tag) { .windows, .uefi, - => target.abi == .gnu or target.abi == .cygnus, + => target.abi == .gnu, else => true, }; } @@ -93,7 +93,6 @@ pub fn useEmulatedTls(target: *const std.Target) bool { if (target.abi.isOpenHarmony()) return true; return switch (target.os.tag) { .openbsd => true, - .windows => target.abi == .cygnus, else => false, }; } |
