Skip to content

Commit b9a1bce

Browse files
committed
expand note about rustup
1 parent 1792880 commit b9a1bce

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

posts/2022-09-22-Rust-1.64.0.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,36 @@ In the future, we hope to provide simpler APIs that require less use of
157157
low-level details like `Poll` and `Pin`, but in the meantime, these helpers
158158
make it easier to write such code.
159159

160-
### `rust-analyzer` now available via `rustup`, no longer in preview
160+
### rust-analyzer is now available via rustup
161161

162-
Users of `rust-analyzer` can now obtain it via `rustup` on the stable and beta
163-
channels, not just on nightly.
162+
[rust-analyzer](https://rust-analyzer.github.io/) is now included as part of
163+
the collection of tools included with Rust. This can make it easier to download
164+
and access rust-analyzer, and makes it available on more platforms. It is
165+
available as a [rustup
166+
component](https://rust-lang.github.io/rustup/concepts/components.html) which
167+
can be installed with:
168+
169+
```
170+
rustup component add rust-analyzer
171+
```
172+
173+
At this time, to run the rustup-installed version, you need to invoke it this
174+
way:
175+
176+
```
177+
rustup run rust-analyzer
178+
```
179+
180+
The next release of rustup will have a built-in proxy so that running the
181+
executable `rust-analyzer` will launch the appropriate version.
182+
183+
Most users should continue to use the releases provided by the rust-analyzer
184+
team (available on the [rust-analyzer releases
185+
page](https://github.com/rust-lang/rust-analyzer/releases)), which are
186+
published more frequently. Users of the [official VSCode
187+
extension](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
188+
are not affected since it automatically downloads and updates releases in the
189+
background.
164190

165191
### Stabilized APIs
166192

0 commit comments

Comments
 (0)