Re: [PATCH] docs: update rust-analyzer command

From: Miguel Ojeda

Date: Wed May 13 2026 - 07:20:33 EST


On Wed, May 13, 2026 at 1:04 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> This should be fixed by marking `prepare` as a dependency of `rust-analyzer`
> instead.

Onur suggested that in Zulip, but it is not a real dependency (in the
sense of generating the file) nor a hard one (in the sense that
rust-analyzer works to some degree without a build).

I am not opposed to it to make the target about "setup rust-analyzer"
rather than "just generate the file", since I think that is what most
people want, but I wonder if someone out there may be already relying
on generating the file without building.

Another alternative is an informational message about it as a middle
ground between "just in the docs" and "not being possible to avoid
part of the build" (and without introducing yet one more target, which
is another option too).

Cheers,
Miguel