diff --git a/cargo-nightly.sh b/cargo-nightly.sh new file mode 100644 index 00000000000..fc885367b67 --- /dev/null +++ b/cargo-nightly.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +here=$(dirname "$0") +source "${here}"/ci/rust-version.sh nightly +# shellcheck disable=SC2054 # rust_nightly is sourced from rust-version.sh +toolchain="$rust_nightly" +set -x +exec cargo "+${toolchain}" "${@}" \ No newline at end of file