Menu

📰
0

How do Rust Devs handle remote build / remote caching

Reddit r/rust·u/AffectionateBag4519·about 1 month ago
#Jh67MLLV
#remote#rust#bazel#build#rules#article
Reading 0:00
15s threshold

How do Rust Devs handle remote build / remote caching I have been using bazel extensively with rust at my day job (working in a massive embedded monorepo). I am actually very happy with bazel for this so far. Lately when I start a new personal / weekend project I am tempted to reach for bazel with buildbuddy (dumb easy to setup and I probably wont ever need more than what the free offers) HOWEVER, bazel can be so complex and I feel like the rust bazel story is close to working for me but just kinda off. (for example cross compiling from linux to windows using rules\_rust is shockingly difficult since rules rust assumes MSVC when targeting windows. rules\_rs fixes this but then rules\_rs doesnt REALLY work with rust-analyzer as well as rules\_rust). My question is for people who want remote build exec and remote caching, similar to what you can setup with bazel, but who just want to use cargo as the build system are there any high quality options. I read the cargo book, I am aware of sccache.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More