From a16b32ac562f1f7e2eb0efeac2d7636b8d4170ec Mon Sep 17 00:00:00 2001 From: Stephen Gregoratto Date: Sat, 19 Oct 2024 18:07:45 +1100 Subject: [PATCH] Target: Bump Linux minimum requirements for kernel+glibc As per #21738, the minimum kernel has been bumped to 5.11, and glibc to 2.34. The maximum has also been updated to the new 6.11 release. --- lib/std/Target.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index def304bc6c84..d98db2f72fe8 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -505,11 +505,11 @@ pub const Os = struct { .linux => .{ .linux = .{ .range = .{ - .min = .{ .major = 4, .minor = 19, .patch = 0 }, - .max = .{ .major = 6, .minor = 10, .patch = 3 }, + .min = .{ .major = 5, .minor = 1, .patch = 0 }, + .max = .{ .major = 6, .minor = 11, .patch = 3 }, }, .glibc = blk: { - const default_min = .{ .major = 2, .minor = 28, .patch = 0 }; + const default_min = .{ .major = 2, .minor = 34, .patch = 0 }; for (std.zig.target.available_libcs) |libc| { // We don't know the ABI here. We can get away with not checking it