mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std.os.linux.test: Partially skip statx() test on riscv32.
No fstatat(), so there's no point doing the rest of it.
This commit is contained in:
parent
7532a8a584
commit
cafce8c767
@ -84,6 +84,8 @@ test "statx" {
|
||||
else => unreachable,
|
||||
}
|
||||
|
||||
if (builtin.cpu.arch == .riscv32) return error.SkipZigTest; // No fstatat, so the rest of the test is meaningless.
|
||||
|
||||
var stat_buf: linux.Stat = undefined;
|
||||
switch (linux.E.init(linux.fstatat(file.handle, "", &stat_buf, linux.AT.EMPTY_PATH))) {
|
||||
.SUCCESS => {},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user