-
Notifications
You must be signed in to change notification settings - Fork 678
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
IntelliJ Rust plugin can't build runtime #6247
Comments
Have the same problem |
Is that enabling all features by any chance? Enabling the RISCV feature will cause it to fail compiling, since you probably dont have that toolchain. |
I do have the toolchain though, see |
which runtime are you trying to build, this should only build if you specify riscv? This should merge soon, does it fix your error #6266 |
Just opening project in IDE, it tries to build and analyze everything and fails. Have not tried the mentioned PR and working on something else at the moment. |
#6266 will fix this. What exactly are you trying to do? The custom toolchain is only required for developing the |
As said above, I try to open a project in IDE. During this IDE will build and expand macros in the whole codebase to build whatever information it needs about the project to enable various IDE features like refactoring, etc. So |
Ah okay, my web UI didn't reload above comments 😅 Yeah this used to work but broke for some reason. I can repro locally, but #6266 will fix it. |
Did intellij worked for you properly before? In my experience it never worked really well on that repo. Not saying we should not resolve this issue. But probably something else will pop up after fixing it. |
It worked in the past and other than this still works. At the same time there are some annoying things about how this repo is maintained, so I have to use environment variables to set one toolchain version for checking the code and another for formatting purposes. And #5317 that would fix at least one half of that is yet to be merged. |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
I'm getting the following confusing error:
The lock file exists for me, but at
/home/nazar-pc/.rustup/toolchains/rve-nightly/lib/rustlib/src/rust/Cargo.lock
instead. Not sure why it is searching for lock file at the wrong location.I have
rve-nightly
1.1.0 installed.Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: