mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
parent
420a9aed4c
commit
ef1ddbe2f0
1 changed files with 5 additions and 2 deletions
|
|
@ -1272,9 +1272,12 @@ test "shrink large object to large object" {
|
|||
}
|
||||
|
||||
test "shrink large object to large object with larger alignment" {
|
||||
if (!builtin.link_libc and builtin.os.tag == .wasi) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22731
|
||||
if (builtin.os.tag == .wasi) {
|
||||
// https://github.com/ziglang/zig/issues/22731
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
var gpa = DebugAllocator(test_config){};
|
||||
var gpa: DebugAllocator(test_config) = .{};
|
||||
defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak");
|
||||
const allocator = gpa.allocator();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue