rust-lang / cargo-bisect-rustc

Bisects rustc, either nightlies or CI artifacts
https://rust-lang.github.io/cargo-bisect-rustc/
Apache License 2.0
174 stars 55 forks source link

--component does not work with --preserve #321

Open matthiaskrgr opened 4 months ago

matthiaskrgr commented 4 months ago

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" :|