Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Put std lib analysis data in per-target directories #826

Closed
@nrc

Description

@nrc

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions