at master 602 B view raw
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 5+++ b/minicargo.mk 6@@ -220,7 +220,7 @@ $(RUSTC_SRC_DL): rustc-$(RUSTC_VERSION)-src/extracted rustc-$(RUSTC_VERSION)-src 7 # - libstd, libpanic_unwind, libtest and libgetopts 8 # - libproc_macro (mrustc) 9 ifeq ($(USE_MERGED_BUILD),1) 10-$(RUSTCSRC)mrustc-stdlib/Cargo.toml: $(RUSTC_SRC_DL) minicargo.mk 11+$(RUSTCSRC)mrustc-stdlib/Cargo.toml: minicargo.mk 12 @mkdir -p $(dir $@) 13 @echo "#![no_core]" > $(dir $@)/lib.rs 14 @echo "[package]" > $@