Skip to content

Commit

Permalink
std.Target: Update known max OS versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Feb 25, 2025
1 parent d856763 commit 055969b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -420,19 +420,19 @@ pub const Os = struct {
.contiki => .{
.semver = .{
.min = .{ .major = 4, .minor = 0, .patch = 0 },
.max = .{ .major = 4, .minor = 9, .patch = 0 },
.max = .{ .major = 5, .minor = 0, .patch = 0 },
},
},
.fuchsia => .{
.semver = .{
.min = .{ .major = 1, .minor = 1, .patch = 0 },
.max = .{ .major = 20, .minor = 1, .patch = 0 },
.max = .{ .major = 21, .minor = 1, .patch = 0 },
},
},
.hermit => .{
.semver = .{
.min = .{ .major = 0, .minor = 4, .patch = 0 },
.max = .{ .major = 0, .minor = 8, .patch = 0 },
.max = .{ .major = 0, .minor = 10, .patch = 0 },
},
},

Expand Down Expand Up @@ -467,7 +467,7 @@ pub const Os = struct {

break :blk default_min;
},
.max = .{ .major = 6, .minor = 11, .patch = 5 },
.max = .{ .major = 6, .minor = 13, .patch = 4 },
},
.glibc = blk: {
const default_min: std.SemanticVersion = .{ .major = 2, .minor = 28, .patch = 0 };
Expand All @@ -488,7 +488,7 @@ pub const Os = struct {
.rtems => .{
.semver = .{
.min = .{ .major = 5, .minor = 1, .patch = 0 },
.max = .{ .major = 5, .minor = 3, .patch = 0 },
.max = .{ .major = 6, .minor = 1, .patch = 0 },
},
},
.zos => .{
Expand Down Expand Up @@ -532,13 +532,13 @@ pub const Os = struct {
.macos => .{
.semver = .{
.min = .{ .major = 13, .minor = 0, .patch = 0 },
.max = .{ .major = 15, .minor = 3, .patch = 0 },
.max = .{ .major = 15, .minor = 3, .patch = 1 },
},
},
.ios => .{
.semver = .{
.min = .{ .major = 12, .minor = 0, .patch = 0 },
.max = .{ .major = 18, .minor = 3, .patch = 0 },
.max = .{ .major = 18, .minor = 3, .patch = 1 },
},
},
.tvos => .{
Expand All @@ -550,13 +550,13 @@ pub const Os = struct {
.visionos => .{
.semver = .{
.min = .{ .major = 1, .minor = 0, .patch = 0 },
.max = .{ .major = 2, .minor = 3, .patch = 0 },
.max = .{ .major = 2, .minor = 3, .patch = 1 },
},
},
.watchos => .{
.semver = .{
.min = .{ .major = 6, .minor = 0, .patch = 0 },
.max = .{ .major = 11, .minor = 3, .patch = 0 },
.max = .{ .major = 11, .minor = 3, .patch = 1 },
},
},

Expand Down Expand Up @@ -590,7 +590,7 @@ pub const Os = struct {
.amdhsa => .{
.semver = .{
.min = .{ .major = 5, .minor = 0, .patch = 2 },
.max = .{ .major = 6, .minor = 2, .patch = 2 },
.max = .{ .major = 6, .minor = 3, .patch = 0 },
},
},
.amdpal => .{
Expand All @@ -602,15 +602,15 @@ pub const Os = struct {
.cuda => .{
.semver = .{
.min = .{ .major = 11, .minor = 0, .patch = 1 },
.max = .{ .major = 12, .minor = 6, .patch = 1 },
.max = .{ .major = 12, .minor = 8, .patch = 0 },
},
},
.nvcl,
.opencl,
=> .{
.semver = .{
.min = .{ .major = 2, .minor = 2, .patch = 0 },
.max = .{ .major = 3, .minor = 0, .patch = 0 },
.max = .{ .major = 3, .minor = 0, .patch = 17 },
},
},
.opengl => .{
Expand All @@ -622,7 +622,7 @@ pub const Os = struct {
.vulkan => .{
.semver = .{
.min = .{ .major = 1, .minor = 2, .patch = 0 },
.max = .{ .major = 1, .minor = 3, .patch = 0 },
.max = .{ .major = 1, .minor = 4, .patch = 309 },
},
},
};
Expand Down

0 comments on commit 055969b

Please sign in to comment.