-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rust-analyzer
went into the wrong dir (maybe?)
#137526
Comments
It is the expected behavior. Previously, it was unnecessarily building an extra stage. #137215 fixed that incorrect logic. You should look in the |
@onur-ozkan But |
I see it looks like you are only building |
@onur-ozkan Oh, that makes sense. Thanks so much 😊 |
@onur-ozkan It looks like that I also get a wrong |
@onur-ozkan This is $ cargo clippy
error: couldn't read `clippy`: No such file or directory (os error 2)
error: aborting due to 1 previous error |
That was a bug and thanks for reporting it. #137541 should fix that. |
Closing this issue as it's not related with the problem we are talking about. Feel free to open another one if needed. |
Summary
Building the
HEAD
version (e0be1a02626abef2878cb7f4aaef7ae409477112
as I'm writing this issue) with:causes the
rust-analyzer
binary goes intostage1-tools-bin
rather thanstage2-tools-bin
Command used
Then find the
rust-analyzer
Expected behaviour
According to
rustc-dev-guide
, therust-analyzer
should be built with thestage2
compiler, thus we should find it instage2-tools-bin
Actual behaviour
The
rust-analyzer
is found instage1-tools-bin
Bootstrap configuration (config.toml)
Operating system
ArchLinux x86_64
HEAD
e0be1a02626abef2878cb7f4aaef7ae409477112
Additional context
Yes, we do have custom patches, but not within the build system, so we think it's irrelevant for this issue.
This issue does not occure until recent days, the
rust-analyzer
binary was always found instage2-tools-bin
, but it suddenly moved tostage1-tools-bin
, is this the expected behavior?The text was updated successfully, but these errors were encountered: