mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
feat: Use CARGO_BUILD_TARGET
as fallback for --target
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a8daf8eb3b
commit
24e77b5750
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ pub struct Args {
|
|||
help_heading = "Package selection",
|
||||
alias = "target",
|
||||
long,
|
||||
value_name = "TRIPLE"
|
||||
value_name = "TRIPLE",
|
||||
env = "CARGO_BUILD_TARGET"
|
||||
)]
|
||||
pub(crate) targets: Option<Vec<String>>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue