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
This commit is contained in:
Lakshya Singh
2025-09-08 08:21:31 +05:30
committed by Rusty Russell
parent 686ce98906
commit 62300da7b8

2
configure vendored
View File

@@ -152,7 +152,7 @@ default_valgrind_setting()
default_rust_setting()
{
if cargo --version > /dev/null 2>&1 && rustfmt --version >/dev/null 2>&1; then
if cargo --version > /dev/null 2>&1; then
echo 1
else
echo 0