Use nightly fmt (#728)

This commit is contained in:
Dominik Maier 2022-08-14 11:00:02 +02:00 committed by GitHub
parent 5d9a19f955
commit 5ad6519456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ cd "$SCRIPT_DIR/.." || exit 1
echo "Welcome to the happy fmt script. :)"
echo "[*] Running fmt for the main crates"
cargo fmt
cargo +nightly fmt
echo "[*] Formatting C(pp) files"
# shellcheck disable=SC2046
@ -23,6 +23,6 @@ for fuzzer in $(echo "$fuzzers" "$backtrace_fuzzers");
do
pushd "$fuzzer" || exit 1
echo "[*] Running fmt for $fuzzer"
cargo fmt --all
cargo +nightly fmt --all
popd || exit 1
done