aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/test.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-04-08 01:02:24 +0200
committerGitHub <noreply@github.com>2025-04-08 01:02:24 +0200
commitd8153fa74ab01f8cdc117e0049e0a2d2e4187892 (patch)
tree6df1488df5ba7367d620c1bbf4c414c3912c69bc /lib/std/os/linux/test.zig
parentfb1d4990cb60e805236122256da99d80c50ee0d4 (diff)
parentf8439805d7d9ab64f34e97272ac13bdd21c7401e (diff)
downloadzig-d8153fa74ab01f8cdc117e0049e0a2d2e4187892.tar.gz
zig-d8153fa74ab01f8cdc117e0049e0a2d2e4187892.zip
Merge pull request #23495 from alexrp/loongarch
Some `loongarch64-linux` porting work
Diffstat (limited to 'lib/std/os/linux/test.zig')
-rw-r--r--lib/std/os/linux/test.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux/test.zig b/lib/std/os/linux/test.zig
index dcde986887..6d2dbe8bc9 100644
--- a/lib/std/os/linux/test.zig
+++ b/lib/std/os/linux/test.zig
@@ -86,7 +86,7 @@ test "statx" {
else => unreachable,
}
- if (builtin.cpu.arch == .riscv32) return error.SkipZigTest; // No fstatat, so the rest of the test is meaningless.
+ if (builtin.cpu.arch == .riscv32 or builtin.cpu.arch.isLoongArch()) 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))) {