diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-24 18:21:08 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-25 05:38:28 -0800 |
| commit | 9d7082972e8df9105b48a806e7bfabca90d4dc1b (patch) | |
| tree | 002f93ef63b51f8459b0d9c77520aab593d31d3d /lib/std/bounded_array.zig | |
| parent | f6af773578e20dbae3bf2a350c036558fea84803 (diff) | |
| download | zig-9d7082972e8df9105b48a806e7bfabca90d4dc1b.tar.gz zig-9d7082972e8df9105b48a806e7bfabca90d4dc1b.zip | |
std.heap.raw_c_allocator: use malloc_size for resize
std.heap.c_allocator was already doing this, however,
std.heap.raw_c_allocator, which asserts no allocations more than 16
bytes aligned, was not.
The zig compiler uses std.heap.raw_c_allocator, so it is affected by
this.
Diffstat (limited to 'lib/std/bounded_array.zig')
0 files changed, 0 insertions, 0 deletions
