authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-22 19:19:52+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-22 19:19:52+02:00
log3140b375fcdec658d14855c2dd2a21d3a1bcd6b3
tree9c7876476a428a3b6a12e1fae5b984d5746bba6e
parent3a6ddce4cf303d7a2bb618223043898d7b1bcc49
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: update a bunch of min/max OS versions


1 files changed, 16 insertions(+), 16 deletions(-)

lib/std/Target.zig+16-16
......@@ -407,20 +407,20 @@ pub const Os = struct {
407407
408408 .contiki => .{
409409 .semver = .{
410 .min = .{ .major = 4, .minor = 0, .patch = 0 },
410 .min = .{ .major = 5, .minor = 0, .patch = 0 },
411411 .max = .{ .major = 5, .minor = 1, .patch = 0 },
412412 },
413413 },
414414 .fuchsia => .{
415415 .semver = .{
416 .min = .{ .major = 1, .minor = 0, .patch = 0 },
417 .max = .{ .major = 28, .minor = 0, .patch = 0 },
416 .min = .{ .major = 27, .minor = 0, .patch = 0 },
417 .max = .{ .major = 30, .minor = 0, .patch = 0 },
418418 },
419419 },
420420 .hermit => .{
421421 .semver = .{
422 .min = .{ .major = 0, .minor = 5, .patch = 0 },
423 .max = .{ .major = 0, .minor = 11, .patch = 0 },
422 .min = .{ .major = 0, .minor = 8, .patch = 0 },
423 .max = .{ .major = 0, .minor = 13, .patch = 2 },
424424 },
425425 },
426426
......@@ -430,7 +430,7 @@ pub const Os = struct {
430430 .min = .{ .major = 0, .minor = 9, .patch = 0 },
431431 .max = .{ .major = 0, .minor = 9, .patch = 0 },
432432 },
433 .glibc = .{ .major = 2, .minor = 28, .patch = 0 },
433 .glibc = .{ .major = 2, .minor = 31, .patch = 0 },
434434 },
435435 },
436436 .linux => .{
......@@ -449,7 +449,7 @@ pub const Os = struct {
449449
450450 break :blk default_min;
451451 },
452 .max = .{ .major = 6, .minor = 19, .patch = 0 },
452 .max = .{ .major = 7, .minor = 0, .patch = 9 },
453453 },
454454 .glibc = blk: {
455455 // For 32-bit targets that traditionally used 32-bit time, we require
......@@ -490,14 +490,14 @@ pub const Os = struct {
490490 },
491491 .rtems => .{
492492 .semver = .{
493 .min = .{ .major = 5, .minor = 1, .patch = 0 },
494 .max = .{ .major = 6, .minor = 1, .patch = 0 },
493 .min = .{ .major = 5, .minor = 3, .patch = 0 },
494 .max = .{ .major = 6, .minor = 2, .patch = 0 },
495495 },
496496 },
497497
498498 .dragonfly => .{
499499 .semver = .{
500 .min = .{ .major = 6, .minor = 0, .patch = 0 },
500 .min = .{ .major = 6, .minor = 4, .patch = 0 },
501501 .max = .{ .major = 6, .minor = 4, .patch = 2 },
502502 },
503503 },
......@@ -516,7 +516,7 @@ pub const Os = struct {
516516
517517 break :blk default_min;
518518 },
519 .max = .{ .major = 15, .minor = 0, .patch = 0 },
519 .max = .{ .major = 15, .minor = 1, .patch = 0 },
520520 },
521521 },
522522 .netbsd => .{
......@@ -644,8 +644,8 @@ pub const Os = struct {
644644
645645 .amdhsa => .{
646646 .semver = .{
647 .min = .{ .major = 5, .minor = 0, .patch = 0 },
648 .max = .{ .major = 7, .minor = 1, .patch = 0 },
647 .min = .{ .major = 6, .minor = 1, .patch = 0 },
648 .max = .{ .major = 7, .minor = 2, .patch = 3 },
649649 },
650650 },
651651 .amdpal => .{
......@@ -656,8 +656,8 @@ pub const Os = struct {
656656 },
657657 .cuda => .{
658658 .semver = .{
659 .min = .{ .major = 11, .minor = 0, .patch = 1 },
660 .max = .{ .major = 13, .minor = 0, .patch = 2 },
659 .min = .{ .major = 12, .minor = 5, .patch = 0 },
660 .max = .{ .major = 13, .minor = 2, .patch = 0 },
661661 },
662662 },
663663 .nvcl,
......@@ -683,7 +683,7 @@ pub const Os = struct {
683683 .vulkan => .{
684684 .semver = .{
685685 .min = .{ .major = 1, .minor = 2, .patch = 0 },
686 .max = .{ .major = 1, .minor = 4, .patch = 331 },
686 .max = .{ .major = 1, .minor = 4, .patch = 352 },
687687 },
688688 },
689689 };