mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Disable zlib-ng for the default cargo-install build (#354)
but explicitly enable it in our own builds. This is because using zlib-ng sometimes does not compile easily on Windows, and using the pure miniz_oxide offers a better install story from source. For our binary builds, we can provide the optimal performance, and still do that for most users as they will update with cargo-binstall, getting our build as a second pass.
This commit is contained in:
parent
23daef610b
commit
e24b2ce1e3
3 changed files with 3 additions and 3 deletions
2
.github/scripts/compile-settings.jq
vendored
2
.github/scripts/compile-settings.jq
vendored
|
@ -4,7 +4,7 @@ if $for_release then {
|
|||
# Use build-std to build a std library optimized for size and abort immediately on abort,
|
||||
# so that format string for `unwrap`/`expect`/`unreachable`/`panic` can be optimized out.
|
||||
args: ($matrix.release_build_args // "-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort"),
|
||||
features: ($matrix.release_features // []),
|
||||
features: ($matrix.release_features // ["zlib-ng", "static", "rustls", "trust-dns", "fancy-no-backtrace"]),
|
||||
} else {
|
||||
output: "debug",
|
||||
profile: "dev",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue