Use jemalloc by default for some targets, but allow it to be enabled for others

· Users Rust Lang · Aug. 28, 2026, 5:54 a.m.
Summary
The post discusses the challenge of enabling jemalloc as the default memory allocator on some platforms while allowing it to be optional on others. The author outlines various strategies for managing this dependency based on platform capabilities but expresses dissatisfaction with each suggested method, seeking a better solution.
AUTHOR