Skip to content

Commit 0457722

Browse files
committed
Do not run formatter in subprocess
There is no obvious reason to run the fuzzer in a subprocess. Remove the subprocess from the fuzzing code.
1 parent b072a5f commit 0457722

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

contrib/test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ rustc --version
1616
# Format if told to
1717
if [ "$DO_FMT" = true ]
1818
then
19-
(
20-
rustup component add rustfmt
21-
cargo fmt --all -- --check
22-
)
19+
rustup component add rustfmt
20+
cargo fmt --all -- --check
2321
fi
2422

2523
# Fuzz if told to

0 commit comments

Comments
 (0)