diff options
author | Ryan Lopopolo <rjl@hyperbo.la> | 2019-09-15 20:19:57 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-09-17 09:35:52 +0900 |
commit | 3062841c207545c1c29f7541ac9d8e883a12264c (patch) | |
tree | b688a1e746aeff729dd2ab3f9de9de171fcd4c7b | |
parent | 4c379f512a237640c141da44fd9b3fc66e39be71 (diff) |
Add rustfmt to nightly toolchain
-rwxr-xr-x | ci/script.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index 8c5d5de7..7003618a 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -14,6 +14,7 @@ case "$BINDGEN_JOB" in # Need rustfmt to compare the test expectations. rustup update nightly rustup component add rustfmt + rustup component add --toolchain nightly rustfmt RUSTFMT="$(rustup which rustfmt)" export RUSTFMT cargo test "$BINDGEN_PROFILE" --features "$BINDGEN_FEATURES" @@ -28,6 +29,7 @@ case "$BINDGEN_JOB" in "nofeatures") rustup update nightly rustup component add rustfmt + rustup component add --toolchain nightly rustfmt RUSTFMT="$(rustup which rustfmt)" export RUSTFMT cargo test "$BINDGEN_PROFILE" --no-default-features |