We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4ad715 + 2f55390 commit cb0ed14Copy full SHA for cb0ed14
src/project.rs
@@ -673,14 +673,7 @@ impl FuzzProject {
673
fn merge_coverage(&self, profdata_raw_path: &Path, profdata_out_path: &Path) -> Result<()> {
674
let mut merge_cmd = Command::new(cargo_binutils::Tool::Profdata.path()?);
675
merge_cmd.arg("merge").arg("-sparse");
676
- for raw_file in fs::read_dir(profdata_raw_path).with_context(|| {
677
- format!(
678
- "failed to read directory entries of {}",
679
- profdata_raw_path.display()
680
- )
681
- })? {
682
- merge_cmd.arg(raw_file?.path());
683
- }
+ merge_cmd.arg(profdata_raw_path);
684
merge_cmd.arg("-o").arg(profdata_out_path);
685
686
eprintln!("Merging raw coverage data...");
0 commit comments