logoalt Hacker News

cwilluyesterday at 12:58 PM1 replyview on HN

The thing I hate about rust is that compiling a small app immediately creates 100gb of junk, and that junk doesn't live in the responsible project's folder, and that junk doesn't get cleaned up by anything.


Replies

pdimitaryesterday at 1:46 PM

You're exaggerating quite a lot. Biggest I've seen the cargo directory after 3 months of active Rust development was ~17GB.

You can also limit it with an env var. I have capped mine at 10GB.

show 1 reply