std.Target: Remove arch-specific handling for macos in Os.VersionRange.default().

The minimum is now the same for both aarch64 and x86_64.
This commit is contained in:
Alex Rønne Petersen 2024-10-30 07:16:09 +01:00
parent af48ce6379
commit ace26004a3
No known key found for this signature in database

View File

@ -494,20 +494,11 @@ pub const Os = struct {
.max = .{ .major = 24, .minor = 0, .patch = 0 },
},
},
.macos => switch (arch) {
.aarch64 => .{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 14, .minor = 6, .patch = 1 },
},
.macos => .{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 14, .minor = 6, .patch = 1 },
},
.x86_64 => .{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 14, .minor = 6, .patch = 1 },
},
},
else => unreachable,
},
.ios => .{
.semver = .{