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.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.