mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Add new feature log_release_max_level_debug and enable it on CI release build (#390)
* Add new feature `log_release_max_level_debug` * Fix calculation of `log_level` in `logging` * Enable feature log_release_max_level_debug on CI release build Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
ee340d80b6
commit
7ac55c46f1
3 changed files with 5 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 // ["zlib-ng", "static", "rustls", "trust-dns", "fancy-no-backtrace"]),
|
||||
features: ($matrix.release_features // ["zlib-ng", "static", "rustls", "trust-dns", "fancy-no-backtrace", "log_release_max_level_debug"]),
|
||||
} else {
|
||||
output: "debug",
|
||||
profile: "dev",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue