fix: Wrap rust-analyzer when rust-src is present#233
fix: Wrap rust-analyzer when rust-src is present#233eureka-cpu wants to merge 1 commit intostagingfrom
Conversation
|
Still need to test for the vs code extension and try it out in a few different terminal based editors. |
|
Tested it out in the helix editor on linux, seems to work fine. Looks like I need to investigate some build failure on macos. |
d67fb78 to
cd8816a
Compare
Ah here's the culprit: |
|
Sorry for not taking a look at the original issue earlier, but I don't think this is needed: #232 (comment) |
I replied there, but just for posterity I'm actually having the same issues even while using The macos failure is actually on main as well, I just ran it locally on my M1. |
cd8816a to
30c8e5d
Compare
30c8e5d to
6ef1973
Compare
Closes #232
This wraps rust-analyzer by default if the toolchain contains the rust-src component, exporting
RUST_SRC_PATH. This also adds the option to override the nightly rust-analyzer with rust-src from a toolchain.