this post was submitted on 13 Feb 2025
42 points (100.0% liked)
Rust
6397 readers
36 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wow, 14% from Germany? That's incredible!
Also, 6.4% said they don't use Rust because the community is unwelcoming, which is really sad to hear, but I'm glad the number is relatively low.
I'm also surprised "disk space usage" isn't an issue for many. I just cleared out dozens of GB of disk use by Rust, and I had to fix my CI/CD to clear itself properly.
Anyway, interesting results, thanks for posting!
I was well above 100GB the other day ๐ . But I think there's a problem with the setup as well
I've been there. This is just on a small personal project I'm working on every so often. It's a tauri app, so there are a fair amount of dependencies, but certainly not GBs per build.
Ideally,
cargo build
could be configured to just take care of it. I really don't need anything other than the most recent build per target, and I certainly don't care about stuff from older compiler versions.cargo-sweep
is nice and I use it (that's how I fixed my CI/CD), but it's a little annoying and I don't think a lot of people use it, hence why I expected it to be higher.For me it's just a matter or clearing the target directories used by older rust releases when I upgrade every 6 weeks.
cargo-sweep
is a godsend for this taskYeah, cargo-sweep is nice, I wish it was more automatic. When I make a build, I just want it to clear out old crap. Just keep whatever the latest is for each target.