mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 06:04:46 +01:00
After https://codeberg.org/ziglang/zig/pulls/30103, `raw_c_allocator` is redundant. It existed to avoid overhead when you could assert that all of your `Allocator` usage was going to be compatible with the C `malloc` API, but the standard `c_allocator` is now able to avoid that overhead *in the case* that your usage is compatible (and use the less efficient path in the rare case where it's not), so there's no need for the raw version anymore. Leaving it in `std.heap` at this point seems like it would just be a footgun. |
||
|---|---|---|
| .. | ||
| build-web | ||
| c | ||
| compiler | ||
| compiler_rt | ||
| docs | ||
| include | ||
| init | ||
| libc | ||
| libcxx | ||
| libcxxabi | ||
| libtsan | ||
| libunwind | ||
| std | ||
| c.zig | ||
| compiler_rt.zig | ||
| fuzzer.zig | ||
| ubsan_rt.zig | ||
| zig.h | ||