Skip to content

Commit a16b32a

Browse files
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.
1 parent 5a4e51d commit a16b32a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/std/Target.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,11 +505,11 @@ pub const Os = struct {
505505
.linux => .{
506506
.linux = .{
507507
.range = .{
508-
.min = .{ .major = 4, .minor = 19, .patch = 0 },
509-
.max = .{ .major = 6, .minor = 10, .patch = 3 },
508+
.min = .{ .major = 5, .minor = 1, .patch = 0 },
509+
.max = .{ .major = 6, .minor = 11, .patch = 3 },
510510
},
511511
.glibc = blk: {
512-
const default_min = .{ .major = 2, .minor = 28, .patch = 0 };
512+
const default_min = .{ .major = 2, .minor = 34, .patch = 0 };
513513

514514
for (std.zig.target.available_libcs) |libc| {
515515
// We don't know the ABI here. We can get away with not checking it

0 commit comments

Comments
 (0)