From fa51e84a87e0591dcad991c747827376728b1286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 10 Aug 2024 18:36:22 +0200 Subject: [PATCH 1/5] std.Target: Use Solaris version instead of SunOS version for solaris OS tag. The latter is not a very useful number: https://en.wikipedia.org/wiki/Oracle_Solaris#Version_history --- lib/std/Target.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index a548a3519806..1af51930fbad 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -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 => .{ From 8088027e72e854339b8f0fa22d109d5cb61d9ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 10 Aug 2024 18:37:39 +0200 Subject: [PATCH 2/5] std.Target: Bump minimum supported Windows version to win10. Per 0.13.0 release notes: https://ziglang.org/download/0.13.0/release-notes.html --- lib/std/Target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 1af51930fbad..67b0f010ff6b 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -503,7 +503,7 @@ pub const Os = struct { .windows => .{ .windows = .{ - .min = .win8_1, + .min = .win10, .max = WindowsVersion.latest, }, }, From d7e19f7f8e684df1fd651c57ea22cefac1afe99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 10 Aug 2024 18:02:31 +0200 Subject: [PATCH 3/5] std.Target: Bump minimum supported OpenBSD version to 7.3. Per 0.13.0 release notes: https://ziglang.org/download/0.13.0/release-notes.html#Tier-2-Support --- lib/std/Target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 67b0f010ff6b..388d4a4758b0 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -454,7 +454,7 @@ pub const Os = struct { }, .openbsd => .{ .semver = .{ - .min = .{ .major = 6, .minor = 8, .patch = 0 }, + .min = .{ .major = 7, .minor = 3, .patch = 0 }, .max = .{ .major = 7, .minor = 4, .patch = 0 }, }, }, From b99777940e54474d4bf663a144d130c07e57ccc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 10 Aug 2024 18:03:28 +0200 Subject: [PATCH 4/5] std.Target: Bump maximum supported OpenBSD version to 7.5. --- lib/std/Target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 388d4a4758b0..e21a467adfe6 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -455,7 +455,7 @@ pub const Os = struct { .openbsd => .{ .semver = .{ .min = .{ .major = 7, .minor = 3, .patch = 0 }, - .max = .{ .major = 7, .minor = 4, .patch = 0 }, + .max = .{ .major = 7, .minor = 5, .patch = 0 }, }, }, .dragonfly => .{ From 8f917870a688ffa9e8369f10192988849684efe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 10 Aug 2024 18:09:07 +0200 Subject: [PATCH 5/5] std.Target: Bump maximum supported versions of all Apple OSs. https://support.apple.com/en-us/HT201222 --- lib/std/Target.zig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index e21a467adfe6..ce439a0ab135 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -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 => .{