src-tauri/target folder is 22 GB #13179
Please-just-dont
started this conversation in
General
Replies: 1 comment
-
Not really, no. Each target will add 2gb and since they are compiled differently the data cannot be shared (well, parts of it probably can but isn't atm - nothing we can do about though). Since cargo doesn't clean up after itself you should remove the target dir every now and then, at least on every new rust toolchain version. For the last part, about multiple projects you can configure a shared target-dir which will deduplicate quite a lot of it. But yeah, that's the drawback of using Rust (or any compiled language) :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know development projects are kinda of big these days, it's something we've gotten used to, but my src-tauri/target folder is 22GB. The thing is, I know that there are both Debug and Release versions in there. I have a desktop and Android builds in there, and I know with Android builds there's sometimes multiple builds for x86 and armeabiv7 and v8 and so forth.
Is there any way to reduce the size of this or not really? If I start another separate project then it's over 40gb for two projects, it seems kinda, large, but that's OK if there's no other way.
Beta Was this translation helpful? Give feedback.
All reactions