Skip to content

Commit 35024dd

Browse files
committed
fix reduction
1 parent 9f25181 commit 35024dd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,13 +2675,16 @@ fn analyze() {
26752675
"--passes=10",
26762676
"--min-reduction=10",
26772677
"--interesting-exit-code=101",
2678-
"--output '-'",
2678+
"--output",
2679+
"-",
26792680
]);
26802681
trd.arg("--source");
26812682
trd.arg(file);
26822683

26832684
trd.args(["--", &bin]);
2684-
trd.args(flags);
2685+
if !flags.is_empty() {
2686+
trd.args(flags);
2687+
}
26852688
trd.arg("@@.rs");
26862689

26872690
let output = trd.output().unwrap();
@@ -2692,7 +2695,7 @@ fn analyze() {
26922695
mvce: reduced_file,
26932696
};
26942697

2695-
dbg!(analysis);
2698+
eprintln!("{}", analysis.mvce);
26962699
}
26972700
})
26982701
}

0 commit comments

Comments
 (0)