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

--start without --end defaults `end` to be today #240

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

Previously, specifying --start without --end would cause --end to default to the current nightly compiler. However, if the current nightly is old, that could be even older than --start. This changes the logic so that in that scenario it will always use "today" as the default date for --end.

This used to use similar logic, but it was removed in 44af4fdd7e154026e1610fee9910c27ded0a9fc0. Based on the commit comment, I'm presuming this was not intentional.