diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-09-01 10:35:41 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-09-07 10:52:31 -0700 |
commit | efdb1c57814d1c8a86c3ab1f959b2b887e38cc5f (patch) | |
tree | 9f77be0d05e74a599f493b1866a9277547559340 | |
parent | 17f13b32cfbf6153c9176f304729ce6180505eca (diff) |
Explicitly install the latest rustfmt in CI
-rwxr-xr-x | ci/script.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index b23d8b5d..7338dc0b 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -11,6 +11,10 @@ export RUST_BACKTRACE=1 case "$BINDGEN_JOB" in "test") + # Need rustfmt to compare the test expectations. + rustup update nightly + rustup run nightly cargo install -f rustfmt-nightly + cargo test $BINDGEN_PROFILE --features "$BINDGEN_FEATURES" ./ci/assert-no-diff.sh ;; |