mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
Fix compilation in entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
b06d6a22a9
commit
2af41d0316
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ use binstalk_manifests::{
|
|||
cargo_toml_binstall::{PkgOverride, Strategy},
|
||||
crates_manifests::Manifests,
|
||||
};
|
||||
use compact_str::CompactString;
|
||||
use file_format::FileFormat;
|
||||
use home::cargo_home;
|
||||
use log::LevelFilter;
|
||||
|
@ -609,7 +610,7 @@ pub fn self_install(
|
|||
assert!(dest.set_extension("exe"));
|
||||
}
|
||||
|
||||
atomic_install(&env::current_exe()?, &dest).map_err(BinstallError::from)?;
|
||||
atomic_install(&env::current_exe().map_err(BinstallError::from)?, &dest).map_err(BinstallError::from)?;
|
||||
|
||||
if let Some(manifests) = manifests {
|
||||
manifests.update(vec![CrateInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue