From c2c7dfd66b199579d7d0d38e863a98b323252555 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 21 Oct 2021 14:36:41 +0100 Subject: [PATCH] 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 1834f19d2067e0ff5cfa744ff6b71f2694eebcb7 --- rust/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/Makefile.am b/rust/Makefile.am index b41e71712..c383f83e3 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -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