authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-19 14:32:46-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-20 20:12:50-04:00
log0d4d8dfc1583138a59147f1aab5eec803a23adb1
tree1b943be375addfa8803ddb4f264c74452b192ffa
parentbd1f96869e8a3cf31688c16cd0baffb65119d5eb

std.Target: update default Linux cross-compiling version

Currently, Zig uses the oldest Debian release that is still under LTS for the default version minimum. This is now Debian 10 (Buster), with long-term support until 2024-06-30. Debian Buster uses Linux 4.19 and glibc 2.28. For the default version maximum, Zig uses the newest stable Linux version, which is currently 6.5.7. Citations: * https://www.debian.org/News/2019/20190706 * https://packages.debian.org/source/buster/glibc * https://kernel.org/ Previous update commit: 1530203c804db7e5abd7d6eac05cfbe449d30aea

1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/target.zig+3-3
...@@ -342,10 +342,10 @@ pub const Target = struct {...@@ -342,10 +342,10 @@ pub const Target = struct {
342 .linux => return .{342 .linux => return .{
343 .linux = .{343 .linux = .{
344 .range = .{344 .range = .{
345 .min = .{ .major = 3, .minor = 16, .patch = 0 },345 .min = .{ .major = 4, .minor = 19, .patch = 0 },
346 .max = .{ .major = 5, .minor = 10, .patch = 81 },346 .max = .{ .major = 6, .minor = 5, .patch = 7 },
347 },347 },
348 .glibc = .{ .major = 2, .minor = 19, .patch = 0 },348 .glibc = .{ .major = 2, .minor = 28, .patch = 0 },
349 },349 },
350 },350 },
351351