News for hackers. Stuff that matters.
Re:Rust 1.100.0 by flykespice on Thursday November 12, 2026 @08:06PM (#50476771)
What the hell are you doing to produce 90gb of temp files? Is that normal on rust land?
Re:Rust 1.100.0 by kstrauser on Thursday November 12, 2026 @09:13PM (#50477211)
No. My target directory is 329GB at the moment. I wish mine were just 90GB.

(And yet I’m perfectly happy running `cargo clean` periodically in exchange for all the Rust loveliness. Sure, I wish I didn’t need to. Sure, I hope it’ll get better. I can live with the temporary inconvenience though.

Also, I’m developing in a tight auto-build-on-commit loop so I have a gazillion builds.)

Re:Rust 1.100.0 by soon_to_be_sb on Thursday November 12, 2026 @11:41PM (#50478432)
Yea, I was thinking the same. 90gb is not that big. Last week I cleared 130gb out of the target dir.
Re:Rust 1.100.0 by simonask on Friday November 13, 2026 @03:44AM (#50480284)
These numbers are totally insane. I've never seen a Rust project with a build cache this large.

Do you have 10 different versions of Tokio included in your project or something?

The project I'm currently working on is quite large, and it's locally cross-compiled to 5 different arch/OS combinations, plus a debug build for the local machine. The build dir is 9.1 GB. I've seen it grow to somewhere around 20 GB, but only after a significant number of dependencies were updated, or the compiler version changed.

A clean debug build of Bevy (a game engine, one of the largest Rust projects around) produces a target dir of around 13 GB. By the way, rebuilding Bevy on my machine takes about 1 minute.

Now, these numbers are still much bigger than I would have preferred, but 329 GB? Get out of here.

Re:Rust 1.100.0 by slopinthebag on Sunday November 15, 2026 @05:29AM (#50505755)
i had a bevy project with a +500gb build folder. i occasionally get out-of-memory warnings and that reminds me to run cargo clean

but i think this is a macos-specific bug that is getting fixed

Re:Rust 1.100.0 by flykespice on Friday November 13, 2026 @07:47AM (#50482749)
329gb?? That is larger than my entire SSD storage.

It would be more believable if you told me you were making your own GTA VI

Re:Rust 1.100.0 by adastra22 on Thursday November 12, 2026 @09:18PM (#50477248)
It's large but not insane. I've got 20gb in a not-too-large repo.
Re:Rust 1.100.0 by a96 on Friday November 13, 2026 @04:49AM (#50480891)
That is frankly insane IMO. 20 MB would be insane unless there's massive libraries or something. 20 GB is the size of a very fat graphical operating system.
Re:Rust 1.100.0 by flykespice on Friday November 13, 2026 @10:10AM (#50484688)
I think even Gradle produce much less cache files...
Re:Rust 1.100.0 by p2detar on Friday November 13, 2026 @12:23PM (#50486663)
[delayed]
Re:Rust 1.100.0 by mixmastamyk on Friday November 13, 2026 @03:40PM (#50489343)
It’s Windows 10 install storage requirement.
Re:Rust 1.100.0 by adastra22 on Friday November 13, 2026 @09:58PM (#50493284)
Exactly, yes. My project uses a GUI framework developed as part of a graphical operating system written in rust. Cargo fetches quite a big subset of that graphical OS in order to build this dependency, which is statically compiled into my app.