Skip to content

Remove build directory once build of jemalloc-sys finishes #119

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kobzol
Copy link

@Kobzol Kobzol commented Feb 17, 2025

And link to the libraries installed with make install instead. This saves disk space in the target directory. When you build jemalloc multiple times, with different Cargo profiles, RUSTFLAGS etc., the files on disk will begin accumulating for no reason (if there is a change, Cargo will just rebuild the library in a different directory).

Target directory disk space usage is a big concern to Rust users (https://blog.rust-lang.org/2025/02/13/2024-State-Of-Rust-Survey-results.html#challenges), and jemalloc is quite popular, so I think that it would be nice to improve this.

Fixes: #89

Copy link

ti-chi-bot bot commented Feb 17, 2025

Welcome @Kobzol! It looks like this is your first PR to tikv/jemallocator 🎉

@Kobzol
Copy link
Author

Kobzol commented Feb 18, 2025

The contributing guide link is 404. Do you have any suggestion on how to do the DCO sign-off?

And link to the libraries installed with `make install` instead.
This saves disk space in the `target` directory.

Signed-off-by: Jakub Beránek <[email protected]>
@Kobzol
Copy link
Author

Kobzol commented Mar 3, 2025

Added the signoff.

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

Successfully merging this pull request may close these issues.

Unnecessary build files left in the target directory
1 participant