4 ms·
> More and more I lean towards using bazel or gn/ninja for fresh Rust projects, and walk away from cargo & crates entirely. I would suggest Buck2 (which is wri
by ReleaseCandidat 3y ago
> More and more I lean towards using bazel or gn/ninja for fresh Rust projects, and walk away from cargo & crates entirely.
I would suggest Buck2 (which is written in Rust, so you can use the existing tooling to build it)
https://buck2.build/ https://buck2.build/ https://github.com/facebook/buck2 https://github.com/facebook/buck2
Rust support is also rather good ;) https://github.com/facebookincubator/reindeer https://github.com/facebookincubator/reindeer
But you need "fixups" to get many cargo packages to work with Buck 2: https://github.com/facebook/buck2/tree/main/shim/third-party/rust/fixups https://github.com/facebook/buck2/tree/main/shim/third-party...
- cmrdporcupine 3y agoInteresting, I'd heard of buck and classified it as a blaze/bazel clone made by Xooglers who ended up at Facebook. But didn't realize buck2 was written in Rust. One of the specific weaknesses I found with Bazel for embedded development was support for multiple toolchains was really not great. I'm sure it's improved, but I found the gn/ninja combination much better.
- kmarc 3y agoIt did improve. However, I'm procrastinating right now by reading HN instead of fixing our multi-compiler requirement toolchain setup for Bazel, and I am contemplating resigning from my job and IT altogether. I hate Bazel at this point.
- cmrdporcupine 3y agoI'm with you. If you find a good replacement for SW eng as a career, let me know.