std: Stop supporting Linux/glibc versions older than declared in std.Target.

This commit is contained in:
Alex Rønne Petersen
2024-07-21 11:03:53 +02:00
parent 6eb9cb6f28
commit 4e5068c35c
6 changed files with 16 additions and 71 deletions

View File

@@ -747,7 +747,8 @@ pub const StackIterator = struct {
.SUCCESS => return bytes_read == buf.len,
.FAULT => return false,
.INVAL, .PERM, .SRCH => unreachable, // own pid is always valid
.NOMEM, .NOSYS => {},
.NOMEM => {},
.NOSYS => {}, // QEMU is known not to implement this syscall.
else => unreachable, // unexpected
}
var path_buf: [