Created
January 21, 2017 08:34
-
-
Save dearmark/90a7da8904111466b8b2c47d1678485b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rustup component add rust-src | |
| export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src" |
🚀🚀🚀🚀🚀🚀
Incredible, 8 years have passed and it still works as well as ever. 🚀🚀🚀🚀
A friendly heads up that if you stumble on this while debugging your issues, you probably want to hardcode the path to rustc.
e.g, MacPorts for me has it installed for whatever dependency reason and it was taking precedence without me realizing, leading to various LSP errors. I assume similar is possible with Homebrew, and that you can reorder whatever paths in your ENV to fix it properly... but I don't care enough to dig for it lol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!It works!