Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow switching between different jemalloc source #88

Open
BusyJay opened this issue May 15, 2024 · 0 comments
Open

Allow switching between different jemalloc source #88

BusyJay opened this issue May 15, 2024 · 0 comments

Comments

@BusyJay
Copy link
Member

BusyJay commented May 15, 2024

jemalloc/jemalloc has slow pace on releasing new versions. Users may want to use a more cutting edge version that are only available on dev branch. To solve the problem, we may decouple this project from jemalloc source. So the dependency graph becomes:

jemalloc -> jemalloc-sys -> jemalloc-source

jemalloc-source will provide the source directory to source code and a build method to build the library.

And add a new package jemalloc-dev-source that can be a dropped-in jemalloc-source alternative that contains source code from dev branch. Users are expected to use cargo patch to override it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant