aboutsummaryrefslogtreecommitdiff
path: root/lib/std/atomic/queue.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-22 15:46:33 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-22 15:46:43 -0400
commit27fe945a00956c8e727ca4c5409c6b716bc09a6d (patch)
treec9427aa9886e8d7f84c50f2ef12407cc80fa61d1 /lib/std/atomic/queue.zig
parent6f0198cadbe29294f2bf3153a27beebd64377566 (diff)
downloadzig-27fe945a00956c8e727ca4c5409c6b716bc09a6d.tar.gz
zig-27fe945a00956c8e727ca4c5409c6b716bc09a6d.zip
Revert "Revert "Merge pull request #17637 from jacobly0/x86_64-test-std""
This reverts commit 6f0198cadbe29294f2bf3153a27beebd64377566.
Diffstat (limited to 'lib/std/atomic/queue.zig')
-rw-r--r--lib/std/atomic/queue.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/atomic/queue.zig b/lib/std/atomic/queue.zig
index e8d37507d3..c28daead1b 100644
--- a/lib/std/atomic/queue.zig
+++ b/lib/std/atomic/queue.zig
@@ -175,6 +175,8 @@ const puts_per_thread = 500;
const put_thread_count = 3;
test "std.atomic.Queue" {
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+
var plenty_of_memory = try std.heap.page_allocator.alloc(u8, 300 * 1024);
defer std.heap.page_allocator.free(plenty_of_memory);