Function cargo::ops::cargo_install::remove_orphaned_bins

source ยท
fn remove_orphaned_bins(
    ws: &Workspace<'_>,
    tracker: &mut InstallTracker,
    duplicates: &BTreeMap<String, Option<PackageId>>,
    pkg: &Package,
    dst: &Path,
) -> CargoResult<()>
Expand description

Removes executables that are no longer part of a package that was previously installed.