Skip to content

Commit 83d9a59

Browse files
committed
std.Thread: disable thread local storage test on 32-bit targets
#25498
1 parent bc589c2 commit 83d9a59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/Thread.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,6 +1811,7 @@ test "Thread.getCurrentId" {
18111811

18121812
test "thread local storage" {
18131813
if (builtin.single_threaded) return error.SkipZigTest;
1814+
if (@sizeOf(usize) == 4) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25498
18141815

18151816
const thread1 = try Thread.spawn(.{}, testTls, .{});
18161817
const thread2 = try Thread.spawn(.{}, testTls, .{});

0 commit comments

Comments
 (0)