From 1cc71a3d51e3119aeaaf0065cc3b23c3e815129c Mon Sep 17 00:00:00 2001 From: Marek 'seqre' Grzelak Date: Fri, 26 Jan 2024 18:41:45 -0600 Subject: [PATCH] Add instructions of how to use pre-vendored 'rustc-src' --- src/bootstrap/bootstrap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 83fdcddecf27a..1ed05982484ba 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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') + 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):