Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b4382c0

Browse files
committedJan 27, 2024
Add instructions of how to use pre-vendored 'rustc-src'
1 parent e7bbe8c commit b4382c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/bootstrap/bootstrap.py

+4
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,10 @@ def check_vendored_status(self):
10351035
eprint(' Run `cargo vendor {}` to initialize the '
10361036
'vendor directory.'.format(sync_dirs))
10371037
eprint('Alternatively, use the pre-vendored `rustc-src` dist component.')
1038+
eprint('You can download it from '
1039+
'https://forge.rust-lang.org/infra/other-installation-methods.html#source-code')
1040+
eprint('and then place the vendor directory from the archive in the root')
1041+
eprint('of the rust project.')
10381042
raise Exception("{} not found".format(vendor_dir))
10391043

10401044
if not os.path.exists(cargo_dir):

0 commit comments

Comments
 (0)
Please sign in to comment.