Skip to content

Commit f6cd385

Browse files
authored
Merge pull request #840 from kairosswag/faq-rust-src
add faq entry for downloading rust source
2 parents 5184a29 + 5106169 commit f6cd385

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,12 @@ rustup is the successor to [multirust]. rustup began as multirust-rs,
555555
a rewrite of multirust from shell script to Rust, by [Diggory Blake],
556556
and is now maintained by The Rust Project.
557557

558+
### Can rustup download the Rust source code?
559+
560+
The Rust source can be obtained by running `rustup component add rust-src`.
561+
It will be downloaded to the `<toolchain root>/lib/rustlib/src/rust`
562+
directory of the current toolchain.
563+
558564
### rustup fails with Windows error 32
559565

560566
If rustup fails with Windows error 32, it may be due to antivirus

0 commit comments

Comments
 (0)