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

Print all args properly in final report #356

Closed clubby789 closed 2 weeks ago

clubby789 commented 2 weeks ago

Fixes #254

When invoked with cargo-bisect-rustc, our args look like ["cargo-bisect-rustc", "--start", ...] However, when invoked with cargo bisect-rustc, our args look like ["/path/to/cargo-bisect-rustc", "bisect-rustc", "--start", ...]

Skip past these initial arguments instead of hardcoding the index