| ... | @@ -1235,6 +1235,8 @@ test "shrink large object to large object" { | ... | @@ -1235,6 +1235,8 @@ test "shrink large object to large object" { |
| 1235 | } | 1235 | } |
| 1236 | | 1236 | |
| 1237 | test "shrink large object to large object with larger alignment" { | 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 | var gpa = GeneralPurposeAllocator(test_config){}; | 1240 | var gpa = GeneralPurposeAllocator(test_config){}; |
| 1239 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); | 1241 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); |
| 1240 | const allocator = gpa.allocator(); | 1242 | const allocator = gpa.allocator(); |
| ... | @@ -1307,6 +1309,8 @@ test "non-page-allocator backing allocator" { | ... | @@ -1307,6 +1309,8 @@ test "non-page-allocator backing allocator" { |
| 1307 | } | 1309 | } |
| 1308 | | 1310 | |
| 1309 | test "realloc large object to larger alignment" { | 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 | var gpa = GeneralPurposeAllocator(test_config){}; | 1314 | var gpa = GeneralPurposeAllocator(test_config){}; |
| 1311 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); | 1315 | defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); |
| 1312 | const allocator = gpa.allocator(); | 1316 | const allocator = gpa.allocator(); |