From 266bc514435556cebade74bd53e5527664ce6d31 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 7 Nov 2023 12:01:00 +0000 Subject: [PATCH] add nightly script --- cargo-nightly.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cargo-nightly.sh 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