Skip to content

Commit

Permalink
Fix rustfmt installation to be via rustup.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jul 26, 2019
1 parent 115b453 commit 0891848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/script.sh
Expand Up @@ -13,8 +13,8 @@ case "$BINDGEN_JOB" in
"test")
# Need rustfmt to compare the test expectations.
rustup update nightly
rustup run nightly cargo install -f rustfmt-nightly

rustup component add rustfmt
export RUSTFMT="$(rustup which rustfmt)"
cargo test $BINDGEN_PROFILE --features "$BINDGEN_FEATURES"
./ci/assert-no-diff.sh
;;
Expand Down

0 comments on commit 0891848

Please sign in to comment.