mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-24 19:46:37 +00:00
Add field desired_targets
to binstall::Options
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
aa88dce215
commit
6a95bb07e0
4 changed files with 6 additions and 11 deletions
|
@ -75,7 +75,6 @@ impl Resolution {
|
|||
pub async fn resolve(
|
||||
opts: Arc<Options>,
|
||||
crate_name: CrateName,
|
||||
desired_targets: DesiredTargets,
|
||||
temp_dir: Arc<Path>,
|
||||
install_path: Arc<Path>,
|
||||
client: Client,
|
||||
|
@ -123,7 +122,7 @@ pub async fn resolve(
|
|||
|
||||
let mut fetchers = MultiFetcher::default();
|
||||
|
||||
let desired_targets = desired_targets.get().await;
|
||||
let desired_targets = opts.desired_targets.get().await;
|
||||
|
||||
for target in desired_targets {
|
||||
debug!("Building metadata for target: {target}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue