-
Notifications
You must be signed in to change notification settings - Fork 279
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
non-compatible racer binary with RUST_SRC_PATH #408
Comments
racer should work with multirust (that's how I use it). Which versions of everything are you using? |
multirust 0.7.0 (b222fcd27 2015-09-24 10:53:38 -0700) So what I do is use this gist and symlink the nightly toolchain src folder to /usr/local/src/rust/src. I just realized that I can use go-to-definition only on To be more specific, I can point you to the repo I'm working on: https://github.com/ernestrc/lbd . If you check it out and open the file Thanks mate! |
I think it's because racer doesn't support the cargo '[[bin]]' field yet, so it is not finding src/lbdd.rs as the crate root. I'll add an enhancement issue for this |
created #409 |
Brilliant! Thanks for all the work you've done with Racer, it's going to be an important piece in the future of Rust. Do you think #409 it's doable for a newcomer to the code base? |
Yes, I think it might be. Is quite an isolated piece of work
Unfortunately that second function assumes there's only one root in a crate. It might work returning both roots though. |
I've started using multirust and suddently racer stopped working for non std completions or go to definitions. I think we should add a warning in the installation instructions about racer-binary/rust-src-path and potentially get racer to throw a warning as well. When invoked from the CLI, it would exit with status 0 in any case.
Any ideas how can we make this incompatibility issue more transparent to consumers of racer?
The text was updated successfully, but these errors were encountered: