diff --git a/lib/std/heap.zig b/lib/std/heap.zig index f17f6728f8a432c31636a7fd90ef69f9f61e1a64..c5b3a95e387bac3deea311e56b301275b1016dd2 100644 --- a/lib/std/heap.zig +++ b/lib/std/heap.zig @@ -1005,6 +1005,9 @@ test "PageAllocator" { test "HeapAllocator" { if (builtin.os.tag == .windows) { + // https://github.com/ziglang/zig/issues/13702 + if (builtin.cpu.arch == .aarch64) return error.SkipZigTest; + var heap_allocator = HeapAllocator.init(); defer heap_allocator.deinit(); const allocator = heap_allocator.allocator(); diff --git a/lib/std/math/log2.zig b/lib/std/math/log2.zig index 4158b290f03891728d757b662c5f61a8a1bf4c14..65fd9c296bea6d943e1036009b9704f968ff9031 100644 --- a/lib/std/math/log2.zig +++ b/lib/std/math/log2.zig @@ -1,4 +1,5 @@ const std = @import("../std.zig"); +const builtin = @import("builtin"); const math = std.math; const expect = std.testing.expect; @@ -42,6 +43,9 @@ pub fn log2(x: anytype) @TypeOf(x) { } test "log2" { + // https://github.com/ziglang/zig/issues/13703 + if (builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows) return error.SkipZigTest; + try expect(log2(@as(f32, 0.2)) == @log2(0.2)); try expect(log2(@as(f64, 0.2)) == @log2(0.2)); comptime {