0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Andrew Kelley e2e60f5ff9 std.heap.WasmAllocator: redo
The previous version had a fatal flaw: it did ensureCapacity(1) on the
freelist when allocating, but I neglected to consider that you could
free() twice in a row. Silly!

This strategy allocates an intrusive freelist node with every
allocation, big or small. It also does not have the problems with resize
because in this case we can push the upper areas of freed stuff into the
corresponding freelist.
History 2022-11-29 23:46:02 -07:00
..
compiler_rt rename lse_atomics.zig to aarch64_outline_atomics.zig 2022-11-21 17:17:02 -07:00
docs Merge pull request #13300 from jcalabro/master 2022-10-30 17:20:57 +01:00
include C backend: improve ergonomics of zig.h a little bit 2022-11-13 16:50:16 -07:00
init-exe init-exe template: add flushing to the buffered writer 2022-08-04 21:12:42 +02:00
init-lib flatten lib/std/special and improve "pkg inside another" logic 2022-05-06 22:41:00 -07:00
libc Update wasi-libc to a00bf321eeeca836ee2a0d2d25aeb8524107b8cc (#13626) 2022-11-28 19:58:03 +01:00
libcxx update libcxx to LLVM 15.0.3 2022-10-18 10:18:09 -07:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std std.heap.WasmAllocator: redo 2022-11-29 23:46:02 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig stage2: implement referenced by trace for error messages 2022-09-15 00:50:18 +03:00
c.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
compiler_rt.zig rename lse_atomics.zig to aarch64_outline_atomics.zig 2022-11-21 17:17:02 -07:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig stage2 AArch64: misc fixes, enable printing in test runner 2022-11-01 20:44:18 +01:00
zig.h C backend: implement vector reduce and overflow intrinsics 2022-11-22 23:33:58 -07:00