Skip to content

Commit

Permalink
Rename install_dist_for_targets, since we're now using it for other p…
Browse files Browse the repository at this point in the history
…ackages as well.
  • Loading branch information
duckinator committed Nov 5, 2024
1 parent 106e1ac commit 77a443e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cargo-dist/src/backend/ci/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ impl GithubCiInfo {
for (runner, targets) in local_runs {
use std::fmt::Write;
let install_dist =
install_dist_for_targets(&targets, &install_dist_sh, &install_dist_ps1);
let install_cargo_auditable = install_dist_for_targets(
install_package_for_targets(&targets, &install_dist_sh, &install_dist_ps1);
let install_cargo_auditable = install_package_for_targets(
&targets,
&install_cargo_auditable_sh,
&install_cargo_auditable_ps1,
Expand Down Expand Up @@ -638,8 +638,8 @@ fn github_runner_for_target(
}
}

/// Select the dist installer approach for a given Github Runner
fn install_dist_for_targets<'a>(
/// Select the (dist-produced) installer approach for a given Github Runner
fn install_package_for_targets<'a>(
targets: &'a [&'a TargetTripleRef],
install_sh: &'a str,
install_ps1: &'a str,
Expand Down

0 comments on commit 77a443e

Please sign in to comment.