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