aboutsummaryrefslogtreecommitdiff
path: root/lib/std/start.zig
diff options
context:
space:
mode:
authorJacob G-W <jacoblevgw@gmail.com>2023-07-16 21:20:55 -0400
committerJacob G-W <jacoblevgw@gmail.com>2023-08-02 17:39:52 -0400
commit841b54f5e3447ee94d89007bf670b3924f78b0d2 (patch)
treec8f2442e41f06b684e43f0f48f361936b814f57f /lib/std/start.zig
parent4d711e8edd1234e727ba7e801b71090dc885249e (diff)
downloadzig-841b54f5e3447ee94d89007bf670b3924f78b0d2.tar.gz
zig-841b54f5e3447ee94d89007bf670b3924f78b0d2.zip
std: add SbrkAllocator and use it for Plan 9
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.
Diffstat (limited to 'lib/std/start.zig')
0 files changed, 0 insertions, 0 deletions