Skip to content

rustc --print sysroot can be slow #783

Open
@matklad

Description

@matklad

Hi!

Looks like sometimes rustc --print sysroot can take as long as three seconds to complete. I think this a bit too much, and I suppose that rustup is to blame. See intellij-rust/intellij-rust#754 (comment) for example of this issue. We've raised timeout to five seconds in IntelliJ Rust, so this shouldn't be a problem, but it seems fishy anyway!

Many thanks to @la10736 for investigating this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions