Skip to content

Commit b4c073e

Browse files
king-11rustyrussell
authored andcommitted
chore: remove rustfmt check in configure
rustfmt isn’t needed for production builds and cargo is sufficient [ Also, rustfmt --version exits with status 1 due to deprecation --RR ] Changelog-None
1 parent e02f76b commit b4c073e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ default_valgrind_setting()
152152

153153
default_rust_setting()
154154
{
155-
if cargo --version > /dev/null 2>&1 && rustfmt --version >/dev/null 2>&1; then
156-
echo 1
155+
if cargo --version > /dev/null 2>&1; then
156+
echo 1
157157
else
158-
echo 0
158+
echo 0
159159
fi
160160
}
161161

0 commit comments

Comments
 (0)