diff --git a/lib/std/heap.zig b/lib/std/heap.zig index f17f6728f8..c5b3a95e38 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 4158b290f0..65fd9c296b 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 {