Skip to content

Commit

Permalink
Target: Bump Linux minimum requirements for kernel+glibc
Browse files Browse the repository at this point in the history
As per ziglang#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.
  • Loading branch information
The-King-of-Toasters committed Oct 29, 2024
1 parent 5a4e51d commit a16b32a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a16b32a

Please sign in to comment.