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 7, 2023
1 parent 7f69f0d commit f18fead
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 f18fead

Please sign in to comment.