rust: Use distclean to clean cache rather than make clean

Actually cargo caches downloaded libraries.  The previous change
caused cargo to download and rebuild these after make clean which is
overly aggressive.  Use make distclean instead.

Updates: commit 1834f19d20
This commit is contained in:
Richard W.M. Jones
2021-10-21 14:36:41 +01:00
parent 1834f19d20
commit 760d11ecfa

View File

@@ -35,7 +35,7 @@ if HAVE_RUST
all: $(srcdir)/src/lib.rs
$(top_builddir)/run $(CARGO) build --release
clean-local:
distclean-local:
$(top_builddir)/run $(CARGO) clean
TESTS = run-bindtests run-tests