diff --git a/support/download/cargo-post-process b/support/download/cargo-post-process index a9fbced466..12198051a4 100755 --- a/support/download/cargo-post-process +++ b/support/download/cargo-post-process @@ -5,7 +5,12 @@ set -e # shellcheck source=helpers source-path=SCRIPTDIR . "${0%/*}/helpers" -manifest="${BR_CARGO_MANIFEST_PATH-Cargo.toml}" +if [ "${BR_CARGO_MANIFEST_PATH}" ]; then + printf 'Setting BR_CARGO_MANIFEST_PATH is no longer supported; use post-process options.\n' >&2 + exit 1 +fi + +manifest=Cargo.toml while getopts "n:o:m:" OPT; do case "${OPT}" in o) output="${OPTARG}";;