Skip to content

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.

@Kobzol
Copy link
Author

Kobzol commented Jun 13, 2025

@BusyJay What do you think about this? :)

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