diff -ur a/minicargo.mk b/minicargo.mk --- a/minicargo.mk 2024-12-17 05:12:59.834050504 +0000 +++ b/minicargo.mk 2024-12-17 05:22:54.039140295 +0000 @@ -204,15 +204,7 @@ # # rustc (with std/cargo) source download # -RUSTC_SRC_TARBALL := rustc-$(RUSTC_VERSION)-src.tar.gz -$(RUSTC_SRC_TARBALL): - @echo [CURL] $@ - @rm -f $@ - @curl -sS https://static.rust-lang.org/dist/$@ -o $@ -rustc-$(RUSTC_VERSION)-src/extracted: $(RUSTC_SRC_TARBALL) - tar -xf $(RUSTC_SRC_TARBALL) - touch $@ -$(RUSTC_SRC_DL): rustc-$(RUSTC_VERSION)-src/extracted rustc-$(RUSTC_VERSION)-src.patch +$(RUSTC_SRC_DL): rustc-$(RUSTC_VERSION)-src.patch cd $(RUSTCSRC) && patch -p0 < ../rustc-$(RUSTC_VERSION)-src.patch; touch $@