-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Currently, vendoring error related to missing vendor directory is as follows:
rust/src/bootstrap/bootstrap.py
Lines 1034 to 1046 in 5ad7454
eprint('ERROR: vendoring required, but vendor directory does not exist.') | |
eprint(' Run `cargo vendor {}` to initialize the ' | |
'vendor directory.'.format(sync_dirs)) | |
eprint(' Alternatively, use the pre-vendored `rustc-src` dist component.') | |
eprint(' To get a stable/beta/nightly version, download it from: ') | |
eprint(' ' | |
'https://forge.rust-lang.org/infra/other-installation-methods.html#source-code') | |
eprint(' To get a specific commit version, download it using the below URL,') | |
eprint(' replacing <commit> with a specific commit checksum: ') | |
eprint(' ' | |
'https://ci-artifacts.rust-lang.org/rustc-builds/<commit>/rustc-nightly-src.tar.xz') | |
eprint(' Once you have the source downloaded, place the vendor directory') | |
eprint(' from the archive in the root of the rust project.') |
It would be more appropriate to replace the placeholder in the URL provided in error message with an actual commit hash (The one we use for downloading ci rustc. See fn download_ci_rustc_commit). This way, the link can be copied and used without requiring extra effort to manually replace the placeholder with the commit hash.
Metadata
Metadata
Assignees
Labels
E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)