aboutsummaryrefslogtreecommitdiff
path: root/lib/std/heap/sbrk_allocator.zig
AgeCommit message (Collapse)Author
2025-02-17Fix build failure in sbrk allocator, caused by #20511schtvn
2025-02-06std.heap.SbrkAllocator: fix typoAndrew Kelley
2025-02-06runtime page size detectionArchbirdplus
heap.zig: define new default page sizes heap.zig: add min/max_page_size and their options lib/std/c: add miscellaneous declarations heap.zig: add pageSize() and its options switch to new page sizes, especially in GPA/stdlib mem.zig: remove page_size
2024-08-29std: avoid field/decl name conflictsmlugg
Most of these changes seem like improvements. The PDB thing had a TODO saying it used to crash; I anticipate it works now, we'll see what CI does. The `std.os.uefi` field renames are a notable breaking change.
2023-08-02std: add SbrkAllocator and use it for Plan 9Jacob G-W
Implements issue #6451. This was needed to support allocation on Plan 9 and now other operating systems like DOS can also use it. It is a modified version of the WasmAllocator since wasm also uses a sbrk-esque allocation system. This commit also adds the necessary system bits for sbrk to work on plan 9.