Re:A Few More Reasons Rust Compiles Slowly
by staticassertion on Monday June 29, 2020 @04:17PM
(#23682230)
builds for my 10kLOC project, which is a workspace. These are the commands run from the root of the workspace. We could clean up some deps, we use quite a few crates, and we use a number of proc macros as well. In general I'd say we're fairly "worst case" for compile time.
cargo clean; cargo build;
4m20
Commenting out two lines of code in one of the services + cargo build;
0m14s
cargo clean; cargo build; 4m20
Commenting out two lines of code in one of the services + cargo build; 0m14s
cargo clean; cargo build --release 11m43s
change 2 lines, cargo build --release 0m31s
I don't find this egregious.
ChromeOS Linux, which is debian
Intel i7 4 core 32GB RAM