mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Enable feature thin of dep zstd for any target built natively (#480)
* Add new feature `binstalk-downloader/zstd-thin` * Add new feature `binstalk/zstd-thin` * Add new feature `binstalk/zstd-thin` * Enable feature zstd-thin for targets built natively Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
66abf1b8c1
commit
bd3f1d598c
4 changed files with 12 additions and 0 deletions
6
.github/scripts/compile-settings.jq
vendored
6
.github/scripts/compile-settings.jq
vendored
|
@ -26,6 +26,12 @@ if $for_release then {
|
|||
else "" end
|
||||
)
|
||||
|
|
||||
.features = (
|
||||
if ($matrix."use-cross" // false)
|
||||
then .features // ["zstd-thin"]
|
||||
else .features end
|
||||
)
|
||||
|
|
||||
.features = (
|
||||
if (.features | length > 0)
|
||||
then "--no-default-features --features \(.features | join(","))"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue