Skip to content

Incorrect output on rustc --print sysroot #502

@leonardohn

Description

@leonardohn

I've been investigating the reasons for issue #498 and it turns out that rustc --print sysroot is not displaying the correct path and instead shows /usr. I don't remember exactly when it started but rust-analyzer and rls stopped working because of it, as they need to look for the component rust-src which goes inside the sysroot.

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