mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01: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
1 changed files with 4 additions and 13 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue