mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +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
@ -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…
x
Reference in New Issue
Block a user