rust-lang / rust-lang/rust

bootstrap: force download-rustc=if-unchanged even if settings differ

Open
#141,953 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-download-rustc C-enhancement E-needs-design T-bootstrap
Dominant language
Rust
Stars
119k
Forks
16.2k
PR merge metrics
PR metrics pending

Description

I'd like to have debug assertions enabled for local rustc builds, but if I didn't change rustc then I am okay with just downloading the prebuilt rustc even if it does not have debug assertions. I'll hopefully only have to debug rustc if I actually changed it. :)

Would be nice to have a way to force the download even if settings differ.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing bootstrap's handling of download-rustc=if-unchanged and how it compares build settings. Determine where an option could permit downloading the prebuilt rustc despite differing debug-assertion settings. Done means unchanged local rustc builds can use the download while existing settings behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.