rust-lang / rust-lang/cargo-bisect-rustc

--component does not work with --preserve

Open
#321 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
206
Forks
60
PR merge metrics
No merged PRs in 30d

Description

  1. run CBR with --preserve and do a bisection.
  2. now do the same bisection but with --component rls for example
    => cbr will NOT notice that it lacks the component rls for the toolchains it has already installed!

I have the feeling that we just check "is the nightly there? yes? then let's go!" instead of actually checking if the specified components are installed and then installing the missing components as needed.

When I run it without --preserve (but with -c) it will eventually notice "hey I could not download that component" :|

Contributor guide

No contributing guide indexed for this repository

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 reproducing the bisection with --preserve and --component rls, then trace the handling of installed toolchains and requested components. Done means cargo-bisect-rustc detects when a preserved toolchain lacks the requested component and installs or reports the missing component instead of proceeding.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.