Skip to main content

reconcile_jemalloc

Function reconcile_jemalloc 

Source
fn reconcile_jemalloc(
    jemalloc: Option<bool>,
    allocator: Option<Allocator>,
    jemalloc_section: &str,
    allocator_section: &str,
) -> Option<Allocator>
Expand description

Reconciles the deprecated jemalloc boolean option with the new allocator option.

Emits a warning if jemalloc is set, and an error if both jemalloc and allocator are set.