Individual files won't be faster but it's been a wonder for whole project compilations
Individual files won't be faster but it's been a wonder for whole project compilations
My 2 main gripes with Bazel was that it was a pain having to rewrite the build system for all of my dependencies and that it's claim of being reproducible is weak in the sense that there are not even warnings when you use resources from the base system (eg. compilers can include files from the base system which may not be the same / exist on another) (this is a problem since I wanted to use a header from the dependency I built with Bazel and not something already on my system)
This does disable multiplex workers,.which can make it more memory intensive. Working on that.
I don't know exactly what I tried since this was maybe a year and a half ago. I tried asking on their slack, but I think I was told that it was not possible. I don't have the project around anymore to try out your suggestion.
Or even better, a massive Rust monorepo orchestrated with Bazel build?
Android uses Soong for Rust,
https://source.android.com/setup/build/rust/building-rust-mo...
While Fucshia uses GN with Rust,
https://fuchsia.dev/fuchsia-src/development/build/concepts/b...