Cargo Features

rustix-dlmalloc has no features set by default.

[dependencies]
rustix-dlmalloc = { version = "0.1.7", features = ["global", "debug", "rustc-dep-of-std"] }
global = rustix-futex-sync

Enable implementations of the GlobalAlloc standard library API, exporting a new GlobalDlmalloc as well which implements this trait.

Affects unix::acquire_global_lock, unix::release_global_lock, wasm::acquire_global_lock, wasm::release_global_lock, wasm::enable_alloc_after_fork, windows::acquire_global_lock, windows::release_global_lock, windows::enable_alloc_after_fork, xous::acquire_global_lock, xous::release_global_lock, xous::enable_alloc_after_fork

debug

Enable very expensive debug checks in this crate

rustc-dep-of-std = core

Enables rustc-dep-of-std of compiler_builtins

compiler_builtins:

Only used in the compiler's build system

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

core rustc-dep-of-std?

Enables rustc-std-workspace-core

For more information on these dependencies see rust-lang/rust's src/tools/rustc-std-workspace folder

compiler_builtins rustc-dep-of-std?
rustix-futex-sync linux global?