Skip to content

Commit 40bbd7d

Browse files
committed
Fix rustfmt installation to be via rustup.
1 parent 115b453 commit 40bbd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ case "$BINDGEN_JOB" in
1313
"test")
1414
# Need rustfmt to compare the test expectations.
1515
rustup update nightly
16-
rustup run nightly cargo install -f rustfmt-nightly
16+
rustup component add rustfmt
1717

1818
cargo test $BINDGEN_PROFILE --features "$BINDGEN_FEATURES"
1919
./ci/assert-no-diff.sh

0 commit comments

Comments
 (0)