Skip to content

Commit 531cd17

Browse files
authored
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
2 parents b7c0112 + 8f91787 commit 531cd17

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/std/Target.zig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -411,39 +411,39 @@ pub const Os = struct {
411411
.aarch64 => VersionRange{
412412
.semver = .{
413413
.min = .{ .major = 11, .minor = 7, .patch = 1 },
414-
.max = .{ .major = 14, .minor = 1, .patch = 0 },
414+
.max = .{ .major = 14, .minor = 6, .patch = 1 },
415415
},
416416
},
417417
.x86_64 => VersionRange{
418418
.semver = .{
419419
.min = .{ .major = 11, .minor = 7, .patch = 1 },
420-
.max = .{ .major = 14, .minor = 1, .patch = 0 },
420+
.max = .{ .major = 14, .minor = 6, .patch = 1 },
421421
},
422422
},
423423
else => unreachable,
424424
},
425425
.ios => .{
426426
.semver = .{
427427
.min = .{ .major = 12, .minor = 0, .patch = 0 },
428-
.max = .{ .major = 17, .minor = 1, .patch = 0 },
428+
.max = .{ .major = 17, .minor = 6, .patch = 1 },
429429
},
430430
},
431431
.watchos => .{
432432
.semver = .{
433433
.min = .{ .major = 6, .minor = 0, .patch = 0 },
434-
.max = .{ .major = 10, .minor = 1, .patch = 0 },
434+
.max = .{ .major = 10, .minor = 6, .patch = 0 },
435435
},
436436
},
437437
.tvos => .{
438438
.semver = .{
439439
.min = .{ .major = 13, .minor = 0, .patch = 0 },
440-
.max = .{ .major = 17, .minor = 1, .patch = 0 },
440+
.max = .{ .major = 17, .minor = 6, .patch = 0 },
441441
},
442442
},
443443
.visionos => .{
444444
.semver = .{
445445
.min = .{ .major = 1, .minor = 0, .patch = 0 },
446-
.max = .{ .major = 1, .minor = 0, .patch = 0 },
446+
.max = .{ .major = 1, .minor = 3, .patch = 0 },
447447
},
448448
},
449449
.netbsd => .{
@@ -454,8 +454,8 @@ pub const Os = struct {
454454
},
455455
.openbsd => .{
456456
.semver = .{
457-
.min = .{ .major = 6, .minor = 8, .patch = 0 },
458-
.max = .{ .major = 7, .minor = 4, .patch = 0 },
457+
.min = .{ .major = 7, .minor = 3, .patch = 0 },
458+
.max = .{ .major = 7, .minor = 5, .patch = 0 },
459459
},
460460
},
461461
.dragonfly => .{
@@ -466,8 +466,8 @@ pub const Os = struct {
466466
},
467467
.solaris => .{
468468
.semver = .{
469-
.min = .{ .major = 5, .minor = 11, .patch = 0 },
470-
.max = .{ .major = 5, .minor = 11, .patch = 0 },
469+
.min = .{ .major = 11, .minor = 0, .patch = 0 },
470+
.max = .{ .major = 11, .minor = 4, .patch = 0 },
471471
},
472472
},
473473
.wasi => .{
@@ -503,7 +503,7 @@ pub const Os = struct {
503503

504504
.windows => .{
505505
.windows = .{
506-
.min = .win8_1,
506+
.min = .win10,
507507
.max = WindowsVersion.latest,
508508
},
509509
},

0 commit comments

Comments
 (0)