-
Notifications
You must be signed in to change notification settings - Fork 380
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
RustRover cannot found rustc-related dependency #10881
Comments
It used to work in now-deprecated idea plugin, but currently it doesn't work there either |
My current approach is to
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
some projects need to use rustc-related dependency (like rust-lang/clippy)
but RustRover cannot find them
I have two choices:
rustc_xxx = {path = ".../rust/complie/..."}
at Cargo.tomlcan make RustRover find them
but will lose the env variable
cannot compile
So I want to ask:
Is there any ticky method I can use to make RustRover find dependencies and compile them successfully?
someone says add dependency at
[target.'cfg(NOT_A_PLATFORM)'.dependencies]
can work.
I tried and its not working
now my solution is using VSCode + rust-analyzer in this project. it worked well.
The text was updated successfully, but these errors were encountered: