Crate tikv_jemallocator_global
source · [−]Expand description
Sets jemalloc
as the #[global_allocator]
on targets that support it.
Just add jemallocator-global
as a dependency:
[dependencies]
jemallocator-global = "0.5.0"
and jemalloc
will be used as the #[global_allocator]
on targets that
support it.
To unconditionally set jemalloc
as the #[global_allocator]
enable the
force_global_jemalloc
cargo feature.
Statics
Sets jemalloc
as the #[global_allocator]
.