Testing std.heap.DebugAllocator
in FFI.
- Zig 0.14.0 or master
- Rust 1.82.0 or nightly
It is also possible to preload in the posix environment.
zig build-lib -dynamic zig/src/lib.zig --name zalloc
LD_PRELOAD=libzalloc.so {app}
- Rust Global Allocator
- C++ new/delete operators override
- C++17 PMR