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

h.toml, help.toml tests fail when HOST triple is too long #226

Closed tjni closed 1 year ago

tjni commented 1 year ago

When updating cargo-bisect-rustc to v0.6.4 in nixpkgs, two tests fail on aarch64-linux:

for the same reason:

21      -         --host <HOST>               Host triple for the compiler [default: [..]]
21 +         --host <HOST>               Host triple for the compiler [default:
22 +                                     aarch64-unknown-linux-gnu]

Because the default value for --host is too long, the help output wraps and no longer matches using trycmd's [..] matcher.

Unfortunately, I'm not sure what the most elegant way is to solve this.