mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Fix install_from_package
: Rm use of opts.target
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3f2e03893a
commit
ad3e707aa3
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ async fn install_from_package(
|
|||
// based on those found via Cargo.toml
|
||||
let bin_data = bins::Data {
|
||||
name: package.name.clone(),
|
||||
target: opts.target.clone(),
|
||||
target: fetcher.target().to_string(),
|
||||
version: package.version.clone(),
|
||||
repo: package.repository.clone(),
|
||||
meta,
|
||||
|
|
Loading…
Add table
Reference in a new issue