But why it should works with stable as external rustc process? At now it is part of rust distribution,
and installed via rustup component add --toolchain nightly rls-preview,
I thought stage where it works with rustc as with black box was long time ago,
and now it shares code with rustc?
But why? If cargo check doesn’t provide enough information or have different restrictions (like doesn’t work with not saved yet file), why not solve it on cargo check level - new options, json input and output and so on. But extend cargo check in so way that cargo check --rls-options will provide compatible
data with cargo check, more data, but in the same format.
So running cargo check from IDE that uses rls would be just as lightning?
As I understand this is modern C++ IDE works, they have it’s own index,
but also can read precompiled headers produced by compiler, and at now
because of clang’s infrastructure integrate building index for IDE into compiler.
Why not do the same with rustc/rls from start? As I now they building and deploying into rustup artifact repo
as the whole?