mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
3d16c1eb76
This will allow replacing (currently buggy) mem.sliceAsBytes() usage in the mem.Allocator implementation with, for example: const bytes: []u8 = @constCast(@ptrCast(mem.absorbSentinel(allocation))); References: https://github.com/ziglang/zig/pull/22706