Low-level FFI bindings to mimalloc V3 (v3.5.0).
For a safe wrapper, use the rustfs-mimalloc crate.
rustfs-mimalloc