mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Thread: disable thread local storage test on 32-bit targets
https://github.com/ziglang/zig/issues/25498
This commit is contained in:
parent
bc589c271a
commit
83d9a5968f
1 changed files with 1 additions and 0 deletions
|
|
@ -1811,6 +1811,7 @@ test "Thread.getCurrentId" {
|
||||||
|
|
||||||
test "thread local storage" {
|
test "thread local storage" {
|
||||||
if (builtin.single_threaded) return error.SkipZigTest;
|
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 thread1 = try Thread.spawn(.{}, testTls, .{});
|
||||||
const thread2 = try Thread.spawn(.{}, testTls, .{});
|
const thread2 = try Thread.spawn(.{}, testTls, .{});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue