Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Still maintained? #33

Open
phlippieb opened this issue Aug 7, 2020 · 1 comment
Open

Still maintained? #33

phlippieb opened this issue Aug 7, 2020 · 1 comment

Comments

@phlippieb
Copy link

I just tried to install this. When I hit K, I get this error:

Error detected while processing function <SNR>28_DeopleteRustShowDocumentation:
line   20:
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 ""/Users/phlippieb/.rust/rust/src/libstd""^@

As far as I can tell, my config is correct. I cloned rust into .rust in my home dir and configured deplete-rust like this:

let g:deoplete#sources#rust#racer_binary='/Users/phlippieb/.cargo/bin/racer'
let g:deoplete#sources#rust#rust_source_path='/Users/phlippieb/.rust/rust/src'

I think the issue is simply that the rust repo has changed. I think libstd used to be at https://github.com/rust-lang/rust/tree/master/src/libstd, but following the link will demonstrate that it's not there anymore.

If this repo is still maintained, it would be really cool if this could get fixed!

@Adminisnyator
Copy link

The src part can be a bit confusing. It mostly just boils down to 'Users/philippieb/.rust/rust/src/rust/src/'.

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

No branches or pull requests

2 participants