rustup
rustup copied to clipboard
Add rust-analyzer and related components to rustup book
Problem you are trying to solve
Recently, rust-analyzer became a rust toolchain component, and even more recently its proc macro server became a component. I do not know which component is which and what they are named, because they aren't listed in the rustup book
Solution you'd like
Please add all components related to rust analyzer to the rustup book
Notes
I would do it myself, but I don't know what is what 😅
The documentation will be added as part of #3022.
Can you point me to where the proc macro server became a component? My understanding is that it is part of the rustc component.
I would ask @fasterthanlime
Can you point me to where the proc macro server became a component? My understanding is that it is part of the
rustccomponent.
This is correct. It's shipped as part of the rustc component, under libexec.
I didn't have anything to do with the rust-analyzer component — it changed from a git submodule to a git subtree, but that makes no difference to rustup. It'll still lag behind until someone makes a sync PR to rust-lang/rust (like rustfmt, clippy etc)
You can find the rust-analyzer docs in the devel rustup book.
After release, it will be in the rustup book.
1.26.0 was released. The docs updated.