···17 fi
1819 if [ "${cargoBuildType}" != "debug" ]; then
20- cargoBuildProfileFlag="--${cargoBuildType}"
21 fi
2223 if [ -n "${cargoBuildNoDefaultFeatures-}" ]; then
···17 fi
1819 if [ "${cargoBuildType}" != "debug" ]; then
20+ cargoBuildProfileFlag="--profile ${cargoBuildType}"
21 fi
2223 if [ -n "${cargoBuildNoDefaultFeatures-}" ]; then
+1-1
pkgs/build-support/rust/hooks/cargo-check-hook.sh
···17 fi
1819 if [ "${cargoCheckType}" != "debug" ]; then
20- cargoCheckProfileFlag="--${cargoCheckType}"
21 fi
2223 if [ -n "${cargoCheckNoDefaultFeatures-}" ]; then
···17 fi
1819 if [ "${cargoCheckType}" != "debug" ]; then
20+ cargoCheckProfileFlag="--profile ${cargoCheckType}"
21 fi
2223 if [ -n "${cargoCheckNoDefaultFeatures-}" ]; then
···17 fi
1819 if [ "${cargoCheckType}" != "debug" ]; then
20- cargoCheckProfileFlag="--${cargoCheckType}"
21 fi
2223 if [ -n "${cargoCheckNoDefaultFeatures-}" ]; then
···17 fi
1819 if [ "${cargoCheckType}" != "debug" ]; then
20+ cargoCheckProfileFlag="--cargo-profile ${cargoCheckType}"
21 fi
2223 if [ -n "${cargoCheckNoDefaultFeatures-}" ]; then