| ... | ... | @@ -1235,6 +1235,8 @@ test "shrink large object to large object" { |
| 1235 | 1235 | } |
| 1236 | 1236 | |
| 1237 | 1237 | test "shrink large object to large object with larger alignment" { |
| 1238 | if (!builtin.link_libc and builtin.os.tag == .wasi) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22731 |
| 1239 | |
| 1238 | 1240 | var gpa = GeneralPurposeAllocator(test_config){}; |
| 1239 | 1241 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); |
| 1240 | 1242 | const allocator = gpa.allocator(); |
| ... | ... | @@ -1307,6 +1309,8 @@ test "non-page-allocator backing allocator" { |
| 1307 | 1309 | } |
| 1308 | 1310 | |
| 1309 | 1311 | test "realloc large object to larger alignment" { |
| 1312 | if (!builtin.link_libc and builtin.os.tag == .wasi) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22731 |
| 1313 | |
| 1310 | 1314 | var gpa = GeneralPurposeAllocator(test_config){}; |
| 1311 | 1315 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); |
| 1312 | 1316 | const allocator = gpa.allocator(); |