diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-01-30 18:21:54 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-06 14:23:23 -0800 |
| commit | 91f41bdc7095635b752af0ca3aee0a41ce864f8c (patch) | |
| tree | 677a487ea33489462a3575d33d5567b0a9e40504 /lib/std/testing.zig | |
| parent | 5c638845390fed5cf1c504ac013a4f75c3b7c690 (diff) | |
| download | zig-91f41bdc7095635b752af0ca3aee0a41ce864f8c.tar.gz zig-91f41bdc7095635b752af0ca3aee0a41ce864f8c.zip | |
std.heap.PageAllocator: restore high alignment functionality
This allocator now supports alignments greater than page size, with the
same implementation as it used before.
This is a partial revert of ceb0a632cfd6a4eada6bd27bf6a3754e95dcac86.
It looks like VirtualAlloc2 has better solutions to this problem,
including features such as MEM_RESERVE_PLACEHOLDER and MEM_LARGE_PAGES.
This possibility can be investigated as a follow-up task.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions
