Merge pull request #21021 from alexrp/target-os-versions

`std.Target`: Bump some minimum/maximum OS versions, and switch from SunOS to Solaris version numbers
This commit is contained in:
Andrew Kelley 2024-08-10 22:58:41 -07:00 committed by GitHub
commit 531cd177e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -411,13 +411,13 @@ 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,
@ -425,25 +425,25 @@ pub const Os = struct {
.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 => .{
@ -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 => .{
@ -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 => .{
@ -503,7 +503,7 @@ pub const Os = struct {
.windows => .{
.windows = .{
.min = .win8_1,
.min = .win10,
.max = WindowsVersion.latest,
},
},