mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
Get everything compiling again.
This commit is contained in:
parent
10d3c64350
commit
4d7be692ce
1 changed files with 4 additions and 2 deletions
|
@ -100,7 +100,7 @@ impl ResolutionFetch {
|
|||
// have featured-gated (optional) binary (gated behind feature).
|
||||
crate_bin_files
|
||||
.iter()
|
||||
.map(|bin| bin.base_name)
|
||||
.map(|bin| bin.base_name.clone())
|
||||
.filter(|bin_name| {
|
||||
user_specified_bins
|
||||
.as_ref()
|
||||
|
@ -200,7 +200,9 @@ impl ResolutionSource {
|
|||
}
|
||||
|
||||
if let Some(bins) = &opts.bins {
|
||||
cmd.args(bins.iter().map(|bin| ["--bin", bin.as_ref()]));
|
||||
for bin in bins {
|
||||
cmd.arg("--bin").arg(bin);
|
||||
}
|
||||
}
|
||||
|
||||
debug!("Running `{}`", format_cmd(&cmd));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue