1The $(RUSTC_SRC_DL) file already exists, but for some reason Make wants to rebuild
2this target when it has $(RUSTC_SRC_TARBALL) as a dependency.
3
4--- a/minicargo.mk 2023-04-06 08:26:18.408817572 +0200
5+++ b/minicargo.mk 2023-04-06 08:27:11.553536996 +0200
6@@ -176,7 +176,7 @@
7 @echo [CURL] $@
8 @rm -f $@
9 @curl -sS https://static.rust-lang.org/dist/$@ -o $@
10-$(RUSTC_SRC_DL): $(RUSTC_SRC_TARBALL) rustc-$(RUSTC_VERSION)-src.patch
11+$(RUSTC_SRC_DL): rustc-$(RUSTC_VERSION)-src.patch
12 tar -xf $(RUSTC_SRC_TARBALL)
13 cd $(RUSTCSRC) && patch -p0 < ../rustc-$(RUSTC_VERSION)-src.patch;
14 touch $(RUSTC_SRC_DL)