3 ms·
I have a Rust monorepo with about a dozen microservice apps and two dozen shared libraries. The compile times are inconvenient, to put it mildly. Production re
by echelon 4y ago
I have a Rust monorepo with about a dozen microservice apps and two dozen shared libraries.
The compile times are inconvenient, to put it mildly. Production release builds take approximately 40 minutes and are especially painful when I forget to codegen the SQL schema definitions (sqlx).
At some point I need to invest in CI devops and use Bazel build caching.
Pain aside, the ability to share code is glorious. Clion + Rust plugin does a tremendous job navigating it all.
- pas 4y agofor CI have you tried to use buildkit persistent runners with caching + https://github.com/LukeMathWalker/cargo-chef https://github.com/LukeMathWalker/cargo-chef ?