mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 08:40:12 +00:00
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:
parent
af48ce6379
commit
ace26004a3
@ -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 = .{
|
||||
|
Loading…
Reference in New Issue
Block a user