rust-lang / cargo-bisect-rustc

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

Produce report, even if no CI builds are found #124

Open aDotInTheVoid opened 3 years ago

aDotInTheVoid commented 3 years ago

Currently, if their are no ci builds, a report isn't printed as here an error is returned

https://github.com/rust-lang/cargo-bisect-rustc/blob/37e4366023669df1c9e68d0cf74cce1fa577c42a/src/main.rs#L1146-L1152

so this function exits early

https://github.com/rust-lang/cargo-bisect-rustc/blob/37e4366023669df1c9e68d0cf74cce1fa577c42a/src/main.rs#L615-L619

It would be nice to show a report, even if their are no CI builds availible

savente93 commented 3 years ago

Am having a look at this. Would it be acceptable to just print the results that are there or is more work needed? (i.e. if there is no CI builds available, just print the nightly bisection report and not the rest)