Skip to content

Commit

Permalink
Merge pull request ziglang#21021 from alexrp/target-os-versions
Browse files Browse the repository at this point in the history
`std.Target`: Bump some minimum/maximum OS versions, and switch from SunOS to Solaris version numbers
  • Loading branch information
andrewrk authored Aug 11, 2024
2 parents b7c0112 + 8f91787 commit 531cd17
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -411,39 +411,39 @@ pub const Os = struct {
.aarch64 => VersionRange{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 14, .minor = 1, .patch = 0 },
.max = .{ .major = 14, .minor = 6, .patch = 1 },
},
},
.x86_64 => VersionRange{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 14, .minor = 1, .patch = 0 },
.max = .{ .major = 14, .minor = 6, .patch = 1 },
},
},
else => unreachable,
},
.ios => .{
.semver = .{
.min = .{ .major = 12, .minor = 0, .patch = 0 },
.max = .{ .major = 17, .minor = 1, .patch = 0 },
.max = .{ .major = 17, .minor = 6, .patch = 1 },
},
},
.watchos => .{
.semver = .{
.min = .{ .major = 6, .minor = 0, .patch = 0 },
.max = .{ .major = 10, .minor = 1, .patch = 0 },
.max = .{ .major = 10, .minor = 6, .patch = 0 },
},
},
.tvos => .{
.semver = .{
.min = .{ .major = 13, .minor = 0, .patch = 0 },
.max = .{ .major = 17, .minor = 1, .patch = 0 },
.max = .{ .major = 17, .minor = 6, .patch = 0 },
},
},
.visionos => .{
.semver = .{
.min = .{ .major = 1, .minor = 0, .patch = 0 },
.max = .{ .major = 1, .minor = 0, .patch = 0 },
.max = .{ .major = 1, .minor = 3, .patch = 0 },
},
},
.netbsd => .{
Expand All @@ -454,8 +454,8 @@ pub const Os = struct {
},
.openbsd => .{
.semver = .{
.min = .{ .major = 6, .minor = 8, .patch = 0 },
.max = .{ .major = 7, .minor = 4, .patch = 0 },
.min = .{ .major = 7, .minor = 3, .patch = 0 },
.max = .{ .major = 7, .minor = 5, .patch = 0 },
},
},
.dragonfly => .{
Expand All @@ -466,8 +466,8 @@ pub const Os = struct {
},
.solaris => .{
.semver = .{
.min = .{ .major = 5, .minor = 11, .patch = 0 },
.max = .{ .major = 5, .minor = 11, .patch = 0 },
.min = .{ .major = 11, .minor = 0, .patch = 0 },
.max = .{ .major = 11, .minor = 4, .patch = 0 },
},
},
.wasi => .{
Expand Down Expand Up @@ -503,7 +503,7 @@ pub const Os = struct {

.windows => .{
.windows = .{
.min = .win8_1,
.min = .win10,
.max = WindowsVersion.latest,
},
},
Expand Down

0 comments on commit 531cd17

Please sign in to comment.