commit 83d9a5968fb9b8aab8391c386bfa6fb062d22739 (tree)
parent bc589c271a52e3010ca0af1191c527fb0db63a89
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sun, 16 Nov 2025 00:06:44 +0100
std.Thread: disable `thread local storage` test on 32-bit targets
https://github.com/ziglang/zig/issues/25498
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
@@ -1811,6 +1811,7 @@ test "Thread.getCurrentId" {
test "thread local storage" {
if (builtin.single_threaded) return error.SkipZigTest;
+ if (@sizeOf(usize) == 4) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25498
const thread1 = try Thread.spawn(.{}, testTls, .{});
const thread2 = try Thread.spawn(.{}, testTls, .{});