Skip to content

Commit

Permalink
add nightly script
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Nov 8, 2023
1 parent b78c6ce commit 266bc51
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cargo-nightly.sh
Original file line number Diff line number Diff line change
@@ -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}" "${@}"

0 comments on commit 266bc51

Please sign in to comment.