We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
thread local storage
1 parent bc589c2 commit 83d9a59Copy full SHA for 83d9a59
lib/std/Thread.zig
@@ -1811,6 +1811,7 @@ test "Thread.getCurrentId" {
1811
1812
test "thread local storage" {
1813
if (builtin.single_threaded) return error.SkipZigTest;
1814
+ if (@sizeOf(usize) == 4) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25498
1815
1816
const thread1 = try Thread.spawn(.{}, testTls, .{});
1817
const thread2 = try Thread.spawn(.{}, testTls, .{});
0 commit comments