Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upOptionally make jemallocator register as a #[global_allocator] #88
Comments
This comment has been minimized.
This comment has been minimized.
|
Hmm, I just realized that for the conditional one we probably don’t want to link to |
This comment has been minimized.
This comment has been minimized.
|
I think that we can put the It makes sense to have this other crate in this repo, so that we can reuse all of the CI that's already set up. |
SimonSapin commentedNov 3, 2018
Following up on https://internals.rust-lang.org/t/jemalloc-was-just-removed-from-the-standard-library/8759/10, it makes sense to me to add two Cargo features to this crate:
global_allocator_on_tested_platforms: define the#[global_allocator]with acfgthat only applies to targets this repository has CI for.global_allocator: same, but unconditional. It might work on an untested platform.CC @gnzlbg @sfackler @alexcrichton