-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect output on rustc --print sysroot
#502
Comments
As I remember |
Both look for the sources at |
I suppose it should use something like |
It seems to be the default path both for https://github.com/racer-rust/racer/blob/bc478759f9f7f6dacd9ec26e7905dc8724740797/src/racer/util.rs#L504 Note: Both sources indicates that this path is going to change at version 1.47.0, according to rust-lang/rust#73265. |
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 butrust-analyzer
andrls
stopped working because of it, as they need to look for the componentrust-src
which goes inside the sysroot.The text was updated successfully, but these errors were encountered: