mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix detect_targets_linux
: Detect arch/libc at runtime using guess_host_triple
(#649)
- Enable `guess_host_triple` on all targets - Fix `detect_targets_linux`: Detect runtime arch/libc using `guess_host_triple` instead of using the one specified in `TARGET`. - Add support for android in `detect_targets` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
49f60d37fe
commit
42672ccf40
3 changed files with 47 additions and 58 deletions
|
@ -12,8 +12,6 @@ license = "Apache-2.0 OR MIT"
|
|||
[dependencies]
|
||||
tokio = { version = "1.23.0", features = ["rt", "process", "sync"], default-features = false }
|
||||
cfg-if = "1.0.0"
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
guess_host_triple = "0.1.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue