Function jemalloc_ctl::opt::abort[][src]

pub fn abort() -> Result<bool>

Determines if jemalloc will call abort(3) on most warnings.

This is disabled by default unless --enable-debug was specified during build configuration.

Examples

extern crate jemallocator;
extern crate jemalloc_ctl;

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

fn main() {
    println!("abort on warning: {}", jemalloc_ctl::opt::abort().unwrap());
}