Skip to content

Commit

Permalink
try to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ToKiNoBug committed Mar 11, 2024
1 parent 801267f commit 9562be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/deploy-dll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ fn deploy_dll(target_binary: &str, target_dir: &str, objdump_file: &str, binary_
if args.verbose {
println!("Copying \"{location}\" to \"{target_dir}\"");
}
std::fs::copy(location, format!("{target_dir}/{dep}")).expect("Failed to copy dll");
std::fs::copy(location, &expected_filename).expect("Failed to copy dll");
} else if args.allow_missing {
println!("Failed to find dll \"{dep}\", required by \"{target_binary}\"");
continue;
Expand All @@ -408,7 +408,7 @@ fn deploy_dll(target_binary: &str, target_dir: &str, objdump_file: &str, binary_
}


deploy_dll(dep, target_dir, objdump_file, binary_format, args);
deploy_dll(&expected_filename, target_dir, objdump_file, binary_format, args);
}
}

Expand Down

0 comments on commit 9562be8

Please sign in to comment.