racer-rust / emacs-racer

Racer support for Emacs
399 stars 48 forks source link

Added library as optional path for RUST_SRC_PATH #149

Closed rodested closed 3 years ago

rodested commented 3 years ago

Now dinamically tests if the std library can be found (and by this order) in: ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library and uses the found path for RUST_SRC_PATH. Besides, if no path is found, shows ERROR messages in the messages buffer so that users get a clue of what is happening and how to fix it

Rodested.

Wilfred commented 3 years ago

143 is merged, which fixes the same issue. Thanks for the PR though :)

rodested commented 3 years ago

Hello,

Wilfred, would you consider adding this commit as an improvement to the committed #143 (see above). This commit includes several improvements:

I'm new merging and adding improvements to Emacs, as I am a recent adopter. I hope to be able to help more in the future :).

Regards,