Skip to content

Commit 4c379f5

Browse files
lopopoloemilio
authored andcommitted
Set RUSTFMT for nofeatures tests
1 parent f377a63 commit 4c379f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/script.sh

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ case "$BINDGEN_JOB" in
2626
;;
2727

2828
"nofeatures")
29+
rustup update nightly
30+
rustup component add rustfmt
31+
RUSTFMT="$(rustup which rustfmt)"
32+
export RUSTFMT
2933
cargo test "$BINDGEN_PROFILE" --no-default-features
3034
./ci/assert-no-diff.sh
3135
;;

0 commit comments

Comments
 (0)