std.Target: Bump minimum glibc version to 2.31.

This is the version in Debian LTS (bullseye).
This commit is contained in:
Alex Rønne Petersen 2025-04-11 21:11:20 +02:00
parent 731d6531bf
commit 46d03c5afa
No known key found for this signature in database

View File

@ -470,7 +470,7 @@ pub const Os = struct {
.max = .{ .major = 6, .minor = 13, .patch = 4 },
},
.glibc = blk: {
const default_min: std.SemanticVersion = .{ .major = 2, .minor = 28, .patch = 0 };
const default_min: std.SemanticVersion = .{ .major = 2, .minor = 31, .patch = 0 };
for (std.zig.target.available_libcs) |libc| {
if (libc.os != tag or libc.arch != arch or libc.abi != abi) continue;