zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit abf90eaa674782e092e49bb23c4c7da0f581f604 (tree)
parent a42542099392cf189b96bdd77ecd88feadfb6382
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Sun, 29 Apr 2018 00:09:18 -0400

enable atomic queue and stack tests for macos

Diffstat:
Mstd/atomic/queue.zig | 4++--
Mstd/atomic/stack.zig | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/std/atomic/queue.zig b/std/atomic/queue.zig @@ -53,8 +53,8 @@ const puts_per_thread = 10000; const put_thread_count = 3; test "std.atomic.queue" { - if (builtin.os != builtin.Os.linux) { - // TODO implement kernel threads for windows and macos + if (builtin.os == builtin.Os.windows) { + // TODO implement kernel threads for windows return; } var direct_allocator = std.heap.DirectAllocator.init(); diff --git a/std/atomic/stack.zig b/std/atomic/stack.zig @@ -60,8 +60,8 @@ const puts_per_thread = 1000; const put_thread_count = 3; test "std.atomic.stack" { - if (builtin.os != builtin.Os.linux) { - // TODO implement kernel threads for windows and macos + if (builtin.os == builtin.Os.windows) { + // TODO implement kernel threads for windows return; } var direct_allocator = std.heap.DirectAllocator.init();