4 ms·
Last time I messed with Tauri my bin folder in my code/building directory ballooned to 10 gigs. If the final product is “lightweight” the development process su
by galleywest200 11mo ago
Last time I messed with Tauri my bin folder in my code/building directory ballooned to 10 gigs. If the final product is “lightweight” the development process surely is not.
- aabhay 11mo agoThat’s just Rust in general. But what you lose in disk space you gain considerably in optimized executables. The tradeoff is well worth it.
- xigoi 11mo agoThere is no tradeoff. The bloat of Rust is caused by its NPM-style ecosystem where everything has 1000 dependencies, which is completely orthogonal to performance.
- pornel 11mo agoCargo's cache is ridiculously massive (half of which is debug info: zero-cost abstractions have full-cost debug metadata), but you can delete it after building. There's new-ish build.build-dir setting that lets you redirect Cargo's temp junk to a standard system temp/cache directory instead of polluting your dev dir.
- xigoi 11mo ago> There's new-ish build.build-dir setting that lets you redirect Cargo's temp junk to a standard system temp/cache directory instead of polluting your dev dir. If it’s just logs, I would prefer to redirect it to /dev/null.