Skip to content

Commit

Permalink
suggest rustfmt
Browse files Browse the repository at this point in the history
used by bindgen to give nice looking output

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jun 15, 2021
1 parent a1d2041 commit f0485b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ if test "x$enable_rust_bindings" = "xyes"; then
if test "x$BINDGEN" = xno; then
AC_MSG_ERROR(["bindgen command not found"])
fi

AC_PATH_PROG([RUSTFMT], [rustfmt], [no])
if test "x$RUSTFMT" = xno; then
AC_MSG_WARN(["rustfmt command not found (optional)"])
fi
fi

# checks for libnozzle
Expand Down

0 comments on commit f0485b8

Please sign in to comment.