HACKER Q&A
📣 matt_the_cat

For those running Rust in production, do you build on a remote server?


It's no secret that Rust compile times can be non-trivial. I'm wondering if it's normal to build locally during development or to use some sort of distributed / remote build system.

I came across cargo-remote on GitHub but it seems unmaintained.


  👤 dureuill Accepted Answer ✓
I build locally. On my projects compile time has been much better than in our C++ projects (which is bigger, but still I'd say that rust compilation isn't slower than c++'s)

👤 steveklabnik
I build locally. I’ve heard good things about sccache, but have never used it.

👤 wezm
I build docker images locally that my server then uses.