Function jemalloc_ctl::config::malloc_conf[][src]

pub fn malloc_conf() -> Result<&'static str>

Returns the embeddec configure-time-specified run-time options config.

The string will be empty unless --with-malloc-conf was specified during build configuration.

Examples

extern crate jemallocator;
extern crate jemalloc_ctl;

#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;

fn main() {
    println!("default malloc conf: {}", jemalloc_ctl::config::malloc_conf().unwrap());
}