1 2 3 4 5 6
-include ../tools.mk all: $(RUSTC) foo.rs -g cp foo.bat $(TMPDIR)/ OUT_DIR="$(TMPDIR)" RUSTC="$(RUSTC_ORIGINAL)" $(call RUN,foo)