Skip to content

Commit

Permalink
Output copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ToKiNoBug committed Apr 29, 2024
1 parent 60e1850 commit cf18267
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bin/deploy-dll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,7 @@ fn deploy_dll(target_binary: &str, target_dir: &str, objdump_file: &str, binary_
}

if let Some(location) = &loc {
if args.verbose {
println!("Copying \"{location}\" to \"{target_dir}\"");
}
println!("Copying \"{location}\" to \"{target_dir}\"");
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}\"");
Expand Down

0 comments on commit cf18267

Please sign in to comment.