Skip to content

Commit 8dd80fb

Browse files
committed
Update faq for fetching rust source.
1 parent 59f5eb1 commit 8dd80fb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc/src/faq.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ maintained by The Rust Project.
1616

1717
### Can rustup download the Rust source code?
1818

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
2228

2329
### rustup fails with Windows error 32
2430

@@ -33,6 +39,6 @@ closing your editor) and try again.
3339

3440
### rustup exited successfully but I can't run `rustc --version`
3541

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
3743
`PATH` environment variable. This should be done by rustup. Next time you log
3844
in this should have been done automatically.

0 commit comments

Comments
 (0)