mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
std.heap: make wasm32 PageAllocator handle large allocation
When a number of bytes to be allocated is so great that alignForward()
is not possible, return `error.OutOfMemory`.
Companion commit to 3f3003097c.
This commit is contained in:
parent
ef761c2cbc
commit
d02242661e
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue