Commit ed68083d8f
Changed files (1)
lib
std
lib/std/Target.zig
@@ -267,10 +267,11 @@ pub const Os = struct {
win11_zn = 0x0A00000E, //aka win11_21h2
win11_ga = 0x0A00000F, //aka win11_22h2
win11_ge = 0x0A000010, //aka win11_23h2
+ win11_dt = 0x0A000011, //aka win11_24h2
_,
/// Latest Windows version that the Zig Standard Library is aware of
- pub const latest = WindowsVersion.win11_ge;
+ pub const latest = WindowsVersion.win11_dt;
/// Compared against build numbers reported by the runtime to distinguish win10 versions,
/// where 0x0A000000 + index corresponds to the WindowsVersion u32 value.
@@ -292,6 +293,7 @@ pub const Os = struct {
22000, //win11_zn aka win11_21h2
22621, //win11_ga aka win11_22h2
22631, //win11_ge aka win11_23h2
+ 26100, //win11_dt aka win11_24h2
};
/// Returns whether the first version `ver` is newer (greater) than or equal to the second version `ver`.
@@ -443,7 +445,7 @@ pub const Os = struct {
.linux = .{
.range = .{
.min = .{ .major = 4, .minor = 19, .patch = 0 },
- .max = .{ .major = 6, .minor = 10, .patch = 3 },
+ .max = .{ .major = 6, .minor = 11, .patch = 5 },
},
.glibc = blk: {
const default_min: std.SemanticVersion = .{ .major = 2, .minor = 28, .patch = 0 };
@@ -472,7 +474,7 @@ pub const Os = struct {
.freebsd => .{
.semver = .{
.min = .{ .major = 12, .minor = 0, .patch = 0 },
- .max = .{ .major = 14, .minor = 0, .patch = 0 },
+ .max = .{ .major = 14, .minor = 1, .patch = 0 },
},
},
.netbsd => .{
@@ -484,44 +486,44 @@ pub const Os = struct {
.openbsd => .{
.semver = .{
.min = .{ .major = 7, .minor = 3, .patch = 0 },
- .max = .{ .major = 7, .minor = 5, .patch = 0 },
+ .max = .{ .major = 7, .minor = 6, .patch = 0 },
},
},
.driverkit => .{
.semver = .{
.min = .{ .major = 19, .minor = 0, .patch = 0 },
- .max = .{ .major = 24, .minor = 0, .patch = 0 },
+ .max = .{ .major = 24, .minor = 2, .patch = 0 },
},
},
.macos => .{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
- .max = .{ .major = 14, .minor = 6, .patch = 1 },
+ .max = .{ .major = 15, .minor = 2, .patch = 0 },
},
},
.ios => .{
.semver = .{
.min = .{ .major = 12, .minor = 0, .patch = 0 },
- .max = .{ .major = 17, .minor = 6, .patch = 1 },
+ .max = .{ .major = 18, .minor = 1, .patch = 0 },
},
},
.tvos => .{
.semver = .{
.min = .{ .major = 13, .minor = 0, .patch = 0 },
- .max = .{ .major = 17, .minor = 6, .patch = 0 },
+ .max = .{ .major = 18, .minor = 1, .patch = 0 },
},
},
.visionos => .{
.semver = .{
.min = .{ .major = 1, .minor = 0, .patch = 0 },
- .max = .{ .major = 1, .minor = 3, .patch = 0 },
+ .max = .{ .major = 2, .minor = 1, .patch = 0 },
},
},
.watchos => .{
.semver = .{
.min = .{ .major = 6, .minor = 0, .patch = 0 },
- .max = .{ .major = 10, .minor = 6, .patch = 0 },
+ .max = .{ .major = 11, .minor = 1, .patch = 0 },
},
},
@@ -542,7 +544,7 @@ pub const Os = struct {
.wasi => .{
.semver = .{
.min = .{ .major = 0, .minor = 1, .patch = 0 },
- .max = .{ .major = 0, .minor = 1, .patch = 0 },
+ .max = .{ .major = 0, .minor = 2, .patch = 2 },
},
},
};