jemalloc-sys 0.5.4+5.3.0-patched

Rust FFI bindings to jemalloc
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(prefixed)]
#[test]
fn malloc_is_prefixed() {
    assert_ne!(jemalloc_sys::malloc as usize, libc::malloc as usize)
}

#[cfg(not(prefixed))]
#[test]
fn malloc_is_overridden() {
    assert_eq!(jemalloc_sys::malloc as usize, libc::malloc as usize)
}