| author | |
| committer | |
| log | 2cb69e53b45286019465e78ec1454cf18e67bf24 |
| tree | cdec8ad919d4c6745582fa7ad4a88bfcc32ae1d7 |
| parent | e24e9ff7bd658d5bbe1636a0496da8d9dce95974 |
| parent | 2527c82482a15701f52c304adf14c29f0423a200 |
| signature |
`std.Target`: Bump minimum Linux kernel and glibc versions according to Debian LTS2 files changed, 3 insertions(+), 3 deletions(-)
lib/std/Target.zig+2-2| ... | ... | @@ -455,7 +455,7 @@ pub const Os = struct { |
| 455 | 455 | .linux = .{ |
| 456 | 456 | .range = .{ |
| 457 | 457 | .min = blk: { |
| 458 | const default_min: std.SemanticVersion = .{ .major = 4, .minor = 19, .patch = 0 }; | |
| 458 | const default_min: std.SemanticVersion = .{ .major = 5, .minor = 10, .patch = 0 }; | |
| 459 | 459 | |
| 460 | 460 | for (std.zig.target.available_libcs) |libc| { |
| 461 | 461 | if (libc.arch != arch or libc.os != tag or libc.abi != abi) continue; |
| ... | ... | @@ -470,7 +470,7 @@ pub const Os = struct { |
| 470 | 470 | .max = .{ .major = 6, .minor = 13, .patch = 4 }, |
| 471 | 471 | }, |
| 472 | 472 | .glibc = blk: { |
| 473 | const default_min: std.SemanticVersion = .{ .major = 2, .minor = 28, .patch = 0 }; | |
| 473 | const default_min: std.SemanticVersion = .{ .major = 2, .minor = 31, .patch = 0 }; | |
| 474 | 474 | |
| 475 | 475 | for (std.zig.target.available_libcs) |libc| { |
| 476 | 476 | if (libc.os != tag or libc.arch != arch or libc.abi != abi) continue; |
lib/std/os/linux.zig+1-1| ... | ... | @@ -1149,7 +1149,7 @@ pub fn access(path: [*:0]const u8, mode: u32) usize { |
| 1149 | 1149 | } |
| 1150 | 1150 | |
| 1151 | 1151 | pub fn faccessat(dirfd: i32, path: [*:0]const u8, mode: u32, flags: u32) usize { |
| 1152 | return syscall4(.faccessat, @as(usize, @bitCast(@as(isize, dirfd))), @intFromPtr(path), mode, flags); | |
| 1152 | return syscall4(.faccessat2, @as(usize, @bitCast(@as(isize, dirfd))), @intFromPtr(path), mode, flags); | |
| 1153 | 1153 | } |
| 1154 | 1154 | |
| 1155 | 1155 | pub fn pipe(fd: *[2]i32) usize { |