Skip to content

Commit

Permalink
Add instructions of how to use pre-vendored 'rustc-src'
Browse files Browse the repository at this point in the history
  • Loading branch information
seqre committed Jan 27, 2024
1 parent e7bbe8c commit 1cc71a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,10 @@ def check_vendored_status(self):
eprint(' Run `cargo vendor {}` to initialize the '
'vendor directory.'.format(sync_dirs))
eprint('Alternatively, use the pre-vendored `rustc-src` dist component.')
eprint('You can download it from '
'https://forge.rust-lang.org/infra/other-installation-methods.html#source-code')

Check failure on line 1039 in src/bootstrap/bootstrap.py

View workflow job for this annotation

GitHub Actions / PR - mingw-check-tidy

line longer than 100 chars
eprint('and then place the vendor directory from the archive in the root')
eprint('of the rust project.')
raise Exception("{} not found".format(vendor_dir))

if not os.path.exists(cargo_dir):
Expand Down

0 comments on commit 1cc71a3

Please sign in to comment.