aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-17 23:01:54 +0000
committerGitHub <[email protected]>2020-02-17 23:01:54 +0000
commit585eef1d8c79e24b7788363cf3a5bc7c9c3bc963 (patch)
tree1f011539525108a10f36fdcde151d294c78db1c0 /docs
parent326556b09078a398e641dd221ab870ee0fe47f68 (diff)
parente29dbdb139fb3a35902b4b3d11a92d45861d210b (diff)
Merge #3206
3206: Install rust-src when it is not found r=SomeoneToIgnore a=SomeoneToIgnore Closes https://github.com/rust-analyzer/rust-analyzer/issues/2858 Looks like there's no RUSTUP env variable, so it adds one more thing to solve in https://github.com/rust-analyzer/rust-analyzer/issues/3154 Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/user/readme.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 57a8cbe31..8780a2995 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -20,7 +20,9 @@ In theory, one should be able to just install the server binary and have it auto
20We are not there yet, so some editor specific setup is required. 20We are not there yet, so some editor specific setup is required.
21 21
22Additionally, rust-analyzer needs sources of the standard library. 22Additionally, rust-analyzer needs sources of the standard library.
23This commands adds them: 23If the source code is not present, rust-analyzer will attempt to install it automatically.
24
25To add the sources manually, run the following command:
24 26
25```bash 27```bash
26$ rustup component add rust-src 28$ rustup component add rust-src