rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Add rust-analyzer and related components to rustup book

Open TheButlah opened this issue 3 years ago • 4 comments

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 😅

TheButlah avatar Aug 17 '22 18:08 TheButlah

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.

ehuss avatar Aug 18 '22 01:08 ehuss

I would ask @fasterthanlime

TheButlah avatar Aug 18 '22 03:08 TheButlah

Can you point me to where the proc macro server became a component? My understanding is that it is part of the rustc component.

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)

fasterthanlime avatar Aug 18 '22 10:08 fasterthanlime

You can find the rust-analyzer docs in the devel rustup book.

After release, it will be in the rustup book.

0xPoe avatar Sep 27 '22 02:09 0xPoe

1.26.0 was released. The docs updated.

0xPoe avatar Apr 26 '23 01:04 0xPoe