Hi.
Clang supports optimizing programs with ThinLTO for distributed builds. This option is not well documented in the official documentation but some pieces of information about that could be found in the following places:
Having support for Distributed Thin LTO is an important thing for warehouse-like Rust applications that want to use ThinLTO as an additional optimization step - that's why Google added support to distributed ThinLTO for Clang (for C and C++ apps).
As far as I understand, right now, Rustc does not support this option. Did anyone try to implement distributed ThinLTO for Rust applications? If the option is already supported, it's worth to document it. If the option is not supported, then we can add it to the Rustc's backlog. I think that this functionality is important enough for large-scale development in Rust. So before creating an issue for Rustc, I wanted to raise a discussion about that here.
I am not a first person who is asking about distributed builds in Rust
For implementing distributed ThinLTO case, it's not enough only implement it in the compiler - we also need to tweak correspondingly distributed build systems like sccache
(I will create a corresponding issue later for them).