diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-16 00:06:44 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-16 00:08:20 +0100 |
| commit | 83d9a5968fb9b8aab8391c386bfa6fb062d22739 (patch) | |
| tree | 79cb998387040542d11f7b2f4bb690b3885aa093 /lib/std/Thread.zig | |
| parent | bc589c271a52e3010ca0af1191c527fb0db63a89 (diff) | |
| download | zig-83d9a5968fb9b8aab8391c386bfa6fb062d22739.tar.gz zig-83d9a5968fb9b8aab8391c386bfa6fb062d22739.zip | |
std.Thread: disable `thread local storage` test on 32-bit targets
https://github.com/ziglang/zig/issues/25498
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 04dc1f6317..c984038f46 100644 --- 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, .{}); |
