aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-01-30 18:21:54 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-06 14:23:23 -0800
commit91f41bdc7095635b752af0ca3aee0a41ce864f8c (patch)
tree677a487ea33489462a3575d33d5567b0a9e40504 /lib/std/testing.zig
parent5c638845390fed5cf1c504ac013a4f75c3b7c690 (diff)
downloadzig-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