std: add arch bits for s390x-linux (#21342)

see #21402
This commit is contained in:
Meghan Denny
2024-09-24 13:35:12 -07:00
committed by GitHub
parent 8d76c02f9a
commit 5e4da1ff30
5 changed files with 333 additions and 0 deletions

View File

@@ -1425,6 +1425,7 @@ test "allocation and looping over 3-byte integer" {
if (builtin.zig_backend == .stage2_llvm and builtin.os.tag == .macos) {
return error.SkipZigTest; // TODO
}
if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO
try expect(@sizeOf(u24) == 4);
try expect(@sizeOf([1]u24) == 4);