| author | |
| committer | |
| log | ed7ff0b693037078f451a7c6c1124611060f4892 |
| tree | 4d87c3bbf89f868379479c0183627aba7984abb6 |
| parent | 0e16d933be12d00b79cbd87c13d71ad164fe5524 |
tracked by #24061 - these should be re-enabled once that is solved.5 files changed, 16 insertions(+), 41 deletions(-)
lib/std/Thread.zig+5| ... | ... | @@ -1661,6 +1661,11 @@ test "Thread.getCurrentId" { |
| 1661 | 1661 | test "thread local storage" { |
| 1662 | 1662 | if (builtin.single_threaded) return error.SkipZigTest; |
| 1663 | 1663 | |
| 1664 | if (builtin.cpu.arch == .thumbeb) { | |
| 1665 | // https://github.com/ziglang/zig/issues/24061 | |
| 1666 | return error.SkipZigTest; | |
| 1667 | } | |
| 1668 | ||
| 1664 | 1669 | const thread1 = try Thread.spawn(.{}, testTls, .{}); |
| 1665 | 1670 | const thread2 = try Thread.spawn(.{}, testTls, .{}); |
| 1666 | 1671 | try testTls(); |
test/behavior/vector.zig+10| ... | ... | @@ -606,6 +606,11 @@ test "vector bitwise not operator" { |
| 606 | 606 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 607 | 607 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 608 | 608 | |
| 609 | if (builtin.cpu.arch == .aarch64_be) { | |
| 610 | // https://github.com/ziglang/zig/issues/24061 | |
| 611 | return error.SkipZigTest; | |
| 612 | } | |
| 613 | ||
| 609 | 614 | const S = struct { |
| 610 | 615 | fn doTheTestNot(comptime T: type, x: @Vector(4, T)) !void { |
| 611 | 616 | const y = ~x; |
| ... | ... | @@ -640,6 +645,11 @@ test "vector boolean not operator" { |
| 640 | 645 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 641 | 646 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 642 | 647 | |
| 648 | if (builtin.cpu.arch == .aarch64_be) { | |
| 649 | // https://github.com/ziglang/zig/issues/24061 | |
| 650 | return error.SkipZigTest; | |
| 651 | } | |
| 652 | ||
| 643 | 653 | const S = struct { |
| 644 | 654 | fn doTheTestNot(comptime T: type, x: @Vector(4, T)) !void { |
| 645 | 655 | const y = !x; |
test/cases/compile_errors/implicitly_increasing_pointer_alignment.zig deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | const Foo = packed struct { | |
| 2 | a: u8, | |
| 3 | b: u32, | |
| 4 | }; | |
| 5 | ||
| 6 | export fn entry() void { | |
| 7 | var foo = Foo{ .a = 1, .b = 10 }; | |
| 8 | bar(&foo.b); | |
| 9 | } | |
| 10 | ||
| 11 | fn bar(x: *u32) void { | |
| 12 | x.* += 1; | |
| 13 | } | |
| 14 | ||
| 15 | // error | |
| 16 | // | |
| 17 | // :8:9: error: expected type '*u32', found '*align(8:8:8) u32' | |
| 18 | // :8:9: note: pointer host size '8' cannot cast into pointer host size '0' | |
| 19 | // :8:9: note: pointer bit offset '8' cannot cast into pointer bit offset '0' | |
| 20 | // :11:11: note: parameter type declared here |
test/cases/compile_errors/implicitly_increasing_slice_alignment.zig deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | const Foo = packed struct { | |
| 2 | a: u8, | |
| 3 | b: u32, | |
| 4 | }; | |
| 5 | ||
| 6 | export fn entry() void { | |
| 7 | var foo = Foo{ .a = 1, .b = 10 }; | |
| 8 | foo.b += 1; | |
| 9 | bar(@as(*[1]u32, &foo.b)[0..]); | |
| 10 | } | |
| 11 | ||
| 12 | fn bar(x: []u32) void { | |
| 13 | x[0] += 1; | |
| 14 | } | |
| 15 | ||
| 16 | // error | |
| 17 | // | |
| 18 | // :9:22: error: expected type '*[1]u32', found '*align(8:8:8) u32' | |
| 19 | // :9:22: note: pointer host size '8' cannot cast into pointer host size '0' | |
| 20 | // :9:22: note: pointer bit offset '8' cannot cast into pointer bit offset '0' |
test/cases/pie_linux.zig+1-1| ... | ... | @@ -6,5 +6,5 @@ pub fn main() void {} |
| 6 | 6 | |
| 7 | 7 | // run |
| 8 | 8 | // backend=llvm |
| 9 | // target=arm-linux,armeb-linux,thumb-linux,thumbeb-linux,aarch64-linux,aarch64_be-linux,loongarch64-linux,mips-linux,mipsel-linux,mips64-linux,mips64el-linux,powerpc-linux,powerpcle-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,s390x-linux,x86-linux,x86_64-linux | |
| 9 | // target=arm-linux,armeb-linux,thumb-linux,thumbeb-linux,aarch64-linux,aarch64_be-linux,loongarch64-linux,mips-linux,mipsel-linux,mips64-linux,mips64el-linux,powerpc-linux,powerpcle-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,x86-linux,x86_64-linux | |
| 10 | 10 | // pie=true |