download-rustc downloads rustc-dev even when it is not needed
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
The typical reason to download nightly rustc in ./x is to build the standard library. That only needs rustc + std. However, bootstrap currently also downloads rustc-dev. To minimize download time, mobile data usage, and disk space consumption, it'd be nice to avoid the download when it is not needed.
Cc @onur-ozkan
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in bootstrap's download-rustc path, using ./x and the standard-library build flow described in the issue. Check when rustc-dev is requested versus when only rustc and std are needed. Done means standard-library builds avoid downloading rustc-dev while workflows that need it still receive it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100