moose
moose copied to clipboard
Reduce Rust compilation time
CI currently takes ~12-13min, but even local compilation time can feel long during development. This issue is about finding low-hanging fruit to optimize Rust compilation time and ideally also CI.
Some references:
- https://endler.dev/2020/rust-compile-times/
- https://matklad.github.io/2021/09/04/fast-rust-builds.html
- https://github.com/Swatinem/rust-cache
- https://pingcap.com/blog/rust-compilation-model-calamity
- https://github.com/RazrFalcon/cargo-bloat