Skip to content
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

Unable to find libstd under RUST_SRC_PATH. #1139

Open
PlumpHip opened this issue Oct 27, 2020 · 1 comment
Open

Unable to find libstd under RUST_SRC_PATH. #1139

PlumpHip opened this issue Oct 27, 2020 · 1 comment

Comments

@PlumpHip
Copy link

PlumpHip commented Oct 27, 2020

% racer complete std::io::B
Unable to find libstd under RUST_SRC_PATH. N.B. RUST_SRC_PATH variable needs to point to the src directory inside a rust checkout e.g. "/home/foouser/src/rust/src". Current value ""/nix/store/fjghknnd4x9zpgx6hxznaiw6c7y0jr2s-rust-1.47.0-2020-10-07-18bf6b4f0/lib/rustlib/src/rust/library/libstd""

I use nix Mozilla-rust-overlay stable

nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [ #
# "lldb-preview"
"clippy-preview"
# "miri-preview"
"rls-preview"
# "rust-analyzer-preview"
"rustfmt-preview"
"llvm-tools-preview"
"rust-analysis"
"rust-std"
"rustc-dev"
# "rustc-docs"
"rust-src"
]

Thanks

@PlumpMath
Copy link

PlumpMath commented Nov 4, 2020

I solve latest racer version.
Cargo install racer
THANKS :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants