cargo-binstall/ci-scripts/compile-settings.jq
Jiahao XU aca4528273
Enable fancy-with-backtrace on debug build
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-25 17:45:19 +10:00

18 lines
574 B
Text

if $for_release then {
output: "release",
profile: "release",
args: ($matrix.release_build_args // ""),
} else {
output: "debug",
profile: "dev",
args: ($matrix.debug_build_args // "--no-default-features --features rustls,fancy-with-backtrace"),
} end
|
{
CBIN: (if ($matrix.target | test("windows")) then "cargo-binstall.exe" else "cargo-binstall" end),
CTOOL: (if ($matrix."use-cross" // false) then "cross" else "cargo" end),
COUTPUT: .output,
CARGS: "--target \($matrix.target) --profile \(.profile) \(.args)",
}
|
to_entries[] | "\(.key)=\(.value)"