Why rust compiler generate cache so big?



1 Like

That is because Rust compiles every dependency from scratch and puts it in your target folder. As a consequence, you have these large sizes. Also, Tauri is a very large library with a lot of dependencies. So, it gets even bigger.

Cargo isn't great at keeping its cache trim either. Some tools that may help are linked in that issue.