Expand description
Installs rusty_alloc as
the process-wide GlobalAlloc.
Remade UI crates (rusty_symbols, rusty_tokens, rusty_a11y) enable this
via their default rusty-alloc feature. Depending on several of those crates
with defaults on is safe: Cargo links this crate once, so there is still
exactly one #[global_allocator].
Opt out in a consumer by disabling the parent crate’s default features, or
by not depending on this crate at all when the app installs its own
allocator (e.g. mata-alloc).
Functions§
- enabled
- Always
true– linking this crate installs the allocator. - secure_
enabled - Whether the hardened
secureprofile is compiled in.