mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
fix entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
2af41d0316
commit
e0c646e5b4
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue