diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2023-07-16 21:20:55 -0400 |
|---|---|---|
| committer | Jacob G-W <jacoblevgw@gmail.com> | 2023-08-02 17:39:52 -0400 |
| commit | 841b54f5e3447ee94d89007bf670b3924f78b0d2 (patch) | |
| tree | c8f2442e41f06b684e43f0f48f361936b814f57f /src/Compilation.zig | |
| parent | 4d711e8edd1234e727ba7e801b71090dc885249e (diff) | |
| download | zig-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 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
