File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,15 @@ maintained by The Rust Project.
16
16
17
17
### Can rustup download the Rust source code?
18
18
19
- The Rust source can be obtained by running ` rustup component add rust-src ` . It
20
- will be downloaded to the ` <toolchain root>/lib/rustlib/src/rust ` directory of
21
- the current toolchain.
19
+ The source for Rust's standard library can be obtained by running `rustup
20
+ component add rust-src` . It will be downloaded to the ` <toolchain
21
+ root>/lib/rustlib/src/rust` directory of the current toolchain.
22
+
23
+ The source for the compiler and tools must be obtained from the [ Rust
24
+ repository] or the standalone [ source tarballs] .
25
+
26
+ [ rust repository ] : https://github.com/rust-lang/rust/
27
+ [ source tarballs ] : https://forge.rust-lang.org/infra/other-installation-methods.html#source-code
22
28
23
29
### rustup fails with Windows error 32
24
30
@@ -33,6 +39,6 @@ closing your editor) and try again.
33
39
34
40
### rustup exited successfully but I can't run ` rustc --version `
35
41
36
- To get started you need Cargo's bin directory ({cargo_home} /bin) in your
42
+ To get started you need Cargo's bin directory (` $CARGO_HOME /bin` ) in your
37
43
` PATH ` environment variable. This should be done by rustup. Next time you log
38
44
in this should have been done automatically.
You can’t perform that action at this time.
0 commit comments