mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-26 19:23:22 +02:00
Minor sidenote for rustup
installation as an alternative to distro package manager
This commit is contained in:
parent
15b8ca8a05
commit
b9eed2a072
12
src/cargo.md
12
src/cargo.md
@ -14,5 +14,17 @@ $ sudo apt install cargo rust-src
|
||||
This will allow [rust-analyzer][1] to jump to the definitions. We suggest using
|
||||
[VS Code][2] to edit the code (but any LSP compatible editor works).
|
||||
|
||||
As a sidenote: if you have the access/capability to do so, it's recommended to
|
||||
install Rust's tooling via [rustup](https://rustup.rs/) since it's better integrated with the
|
||||
rest of the ecosystem. As of writing, the way to install `rustup` on Unix system would be
|
||||
|
||||
```shell
|
||||
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
```
|
||||
|
||||
If you already have the tools installed via your distro's package manager, you might want to [follow
|
||||
the guide](https://rust-lang.github.io/rustup/installation/package-managers.html) so the installations
|
||||
can co-exists (or just be replaced)
|
||||
|
||||
[1]: https://rust-analyzer.github.io/
|
||||
[2]: https://code.visualstudio.com/
|
||||
|
Loading…
Reference in New Issue
Block a user