0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std.heap.DebugAllocator: make BucketHeader.fromPage() use wrapping arithmetic

If we've allocated the very last page in the address space then these operations
will overflow and underflow respectively - which is fine.
This commit is contained in:
Alex Rønne Petersen 2026-02-20 22:14:35 +01:00
commit b5bcbf2a62
No known key found for this signature in database