From 40bbd7d4b477de0346c80cc3504881554bd6d589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 26 Jul 2019 16:22:56 +0200 Subject: [PATCH] Fix rustfmt installation to be via rustup. --- ci/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/script.sh b/ci/script.sh index 8e2c7e1fa0..a4424bef11 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -13,7 +13,7 @@ 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 cargo test $BINDGEN_PROFILE --features "$BINDGEN_FEATURES" ./ci/assert-no-diff.sh