Use jemalloc by default for some targets, but allow it to be enabled for others
The Rust Programming Language Forum
Use jemalloc by default for some targets, but allow it to be enabled for others
I would like to enable using jemalloc by default on platforms where it is easy to build, but optional on other platforms, so that it can still be compiled with jemalloc if the user has jemalloc set up, but won't try by default, when it is likely to fail. The current options I see are: Make the tikv-jemallocator dep always optional, and users must opt-in to using it, regardless of platform Use target.cfg(...).dependencies to only add the dependency for some platforms. But then platforms that ...
0 comments
No comments yet.