Revert "Use std.testing.free over destroy"

This reverts commit 7ba074353028907450c0eaad0da5cc32c4f38df8.
This commit is contained in:
Richard Feldman 2022-01-02 22:40:17 -05:00
parent 8c267f937b
commit afca1b9ee5

View file

@ -43,7 +43,7 @@ fn testing_roc_realloc(c_ptr: *c_void, new_size: usize, old_size: usize, _: u32)
fn testing_roc_dealloc(c_ptr: *c_void, _: u32) callconv(.C) void {
const ptr = @ptrCast([*]u8, @alignCast(16, c_ptr));
std.testing.allocator.free(ptr);
std.testing.allocator.destroy(ptr);
}
fn testing_roc_panic(c_ptr: *c_void, tag_id: u32) callconv(.C) void {