Closed rodested closed 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,
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.