We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9197df0 + a21174e commit 1fcdc99Copy full SHA for 1fcdc99
src/main.rs
@@ -695,10 +695,11 @@ fn print_final_report(
695
eprintln!("Reproduce with:");
696
eprintln!("```bash");
697
eprint!("cargo bisect-rustc ");
698
- for (index, arg) in env::args_os().enumerate() {
699
- if index > 1 {
700
- eprint!("{} ", arg.to_string_lossy());
701
- }
+ for arg in env::args_os()
+ .map(|arg| arg.to_string_lossy().into_owned())
+ .skip_while(|arg| arg.ends_with("bisect-rustc"))
+ {
702
+ eprint!("{arg} ");
703
}
704
eprintln!();
705
eprintln!("```");
0 commit comments