You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
This is probably a Rustbuild/Rustup/rls-analysis issue, but tracking here because I don't know exactly where to fix it.
If a user has multiple toolchains installed with rustup, then they will get multiple sets of analysis data (the JSON files) for the std libs, one per target (I think). These get installed into the same directory (e.g., /Users/nick/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/analysis). That means that indexing takes twice as long as it should and there is duplicate data (though I think rls-analysis will not duplicate, it might do some kind of bad merge).
The text was updated successfully, but these errors were encountered:
Previously, we were emittinng analysis data for all tasks, including `doc`. That meant we got two sets of save-analysis data, one from the normal build and one from the docs. That means indexing with the RLS took twice as long and made downloads larger and build times longer.
cc rust-lang/rls#826
bors
added a commit
to rust-lang/rust
that referenced
this issue
Apr 18, 2018
Only emit save-analysis data for `cargo build` tasks
Previously, we were emittinng analysis data for all tasks, including `doc`. That meant we got two sets of save-analysis data, one from the normal build and one from the docs. That means indexing with the RLS took twice as long and made downloads larger and build times longer.
cc rust-lang/rls#826
r? @Mark-Simulacrum
This is probably a Rustbuild/Rustup/rls-analysis issue, but tracking here because I don't know exactly where to fix it.
If a user has multiple toolchains installed with rustup, then they will get multiple sets of analysis data (the JSON files) for the std libs, one per target (I think). These get installed into the same directory (e.g.,
/Users/nick/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/analysis
). That means that indexing takes twice as long as it should and there is duplicate data (though I think rls-analysis will not duplicate, it might do some kind of bad merge).The text was updated successfully, but these errors were encountered: