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