rustPlatform.cargoCheckHook: respect cargoCheckType
This commit is contained in:
parent
aff0e5c530
commit
22efdc986c
@ -16,11 +16,11 @@ cargoCheckHook() {
|
|||||||
threads=1
|
threads=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${cargoBuildType}" != "debug" ]; then
|
if [ "${cargoCheckType}" != "debug" ]; then
|
||||||
cargoBuildProfileFlag="--${cargoBuildType}"
|
cargoCheckProfileFlag="--${cargoCheckType}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
argstr="${cargoBuildProfileFlag} --target @rustTargetPlatformSpec@ --frozen ${cargoTestFlags}";
|
argstr="${cargoCheckProfileFlag} --target @rustTargetPlatformSpec@ --frozen ${cargoTestFlags}";
|
||||||
|
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
|
Loading…
Reference in New Issue
Block a user