Is possible to speedup `cargo build` command?

There have been quite a few recent threads on speeding up compile time using various mechanisms, and various problems people have had.

https://users.rust-lang.org/t/soft-question-significantly-improve-rust-compile-time-via-minimizing-generics/103632

https://users.rust-lang.org/t/compile-time-efficiency-of-c-templates-vs-rust-generics/103532

https://users.rust-lang.org/t/compile-time-help/103397

https://users.rust-lang.org/t/is-rust-compile-time-really-that-slow/102863

https://users.rust-lang.org/t/extreme-long-compilation-time/101885

https://users.rust-lang.org/t/rust-compile-times-and-dependency-graphs/101209

https://users.rust-lang.org/t/can-wasm32-compile-time-often-be-10x-faster-than-x86-64-compile-time/100313

https://users.rust-lang.org/t/dramatic-increase-in-compile-time-with-fat-lto-in-release-build-causes-and-troubleshooting/99539

https://users.rust-lang.org/t/compile-time-issues-after-merging-microservices/98484

1 Like