diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-10-30 19:28:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-10-30 19:28:26 -0700 |
| commit | d02242661e667e67b07faf69490bb0db3dfd4bf0 (patch) | |
| tree | 59ac3378117f2684b4d92a26adbc0d967a171180 /src/link | |
| parent | ef761c2cbc5c9a06da5c09de389a1d778731d170 (diff) | |
| download | zig-d02242661e667e67b07faf69490bb0db3dfd4bf0.tar.gz zig-d02242661e667e67b07faf69490bb0db3dfd4bf0.zip | |
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 3f3003097cbf5a6ad9e0dfc29b2cafbe2e35dded.
Diffstat (limited to 'src/link')
0 files changed, 0 insertions, 0 deletions
