1 2 3 4 5 6 7
# ignore-cross-compile include ../tools.mk all: cp foo.rs $(TMPDIR) cd $(TMPDIR) && $(RUSTC) -o foo foo.rs $(call RUN,foo)