mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Include cargo-timings
report in release build (#1110)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
7d11a379c4
commit
e79bb2ab10
2 changed files with 10 additions and 1 deletions
3
justfile
3
justfile
|
@ -9,6 +9,7 @@ default-features := env_var_or_default("JUST_DEFAULT_FEATURES", "")
|
|||
override-features := env_var_or_default("JUST_OVERRIDE_FEATURES", "")
|
||||
glibc-version := env_var_or_default("GLIBC_VERSION", "")
|
||||
use-auditable := env_var_or_default("JUST_USE_AUDITABLE", "")
|
||||
timings := env_var_or_default("JUST_TIMINGS", "")
|
||||
|
||||
export BINSTALL_LOG_LEVEL := if env_var_or_default("RUNNER_DEBUG", "0") == "1" { "debug" } else { "info" }
|
||||
|
||||
|
@ -145,7 +146,7 @@ target-glibc-ver-postfix := if glibc-version != "" {
|
|||
""
|
||||
}
|
||||
|
||||
cargo-build-args := (if for-release != "" { " --release" } else { "" }) + (" --target ") + (target) + (target-glibc-ver-postfix) + (cargo-buildstd) + (if extra-build-args != "" { " " + extra-build-args } else { "" }) + (cargo-no-default-features) + (cargo-split-debuginfo) + (if cargo-features != "" { " --features " + cargo-features } else { "" }) + (win-arm64-ring16)
|
||||
cargo-build-args := (if for-release != "" { " --release" } else { "" }) + (" --target ") + (target) + (target-glibc-ver-postfix) + (cargo-buildstd) + (if extra-build-args != "" { " " + extra-build-args } else { "" }) + (cargo-no-default-features) + (cargo-split-debuginfo) + (if cargo-features != "" { " --features " + cargo-features } else { "" }) + (win-arm64-ring16) + (if timings != "" { " --timings" } else { "" })
|
||||
export RUSTFLAGS := (linker-plugin-lto) + (rustc-gcclibs) + (rustc-miropt) + (rust-lld) + (rustc-icf)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue