fix entry.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-11-09 12:47:20 +11:00 committed by GitHub
parent 2af41d0316
commit e0c646e5b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -597,7 +597,7 @@ pub fn self_install(
// Compute paths
let cargo_root = args.root;
let (install_path, mut manifests, temp_dir) = compute_paths_and_load_manifests(
let (install_path, manifests, _) = compute_paths_and_load_manifests(
cargo_root.clone(),
args.install_path,
args.no_track,
@ -605,7 +605,7 @@ pub fn self_install(
&mut config,
)?;
let dest = install_path.join("cargo-binstall");
let mut dest = install_path.join("cargo-binstall");
if cfg!(windows) {
assert!(dest.set_extension("exe"));
}