1 2 3 4 5 6
# ignore-cross-compile include ../tools.mk all: $(RUSTC) libc.rs -Cmetadata=foo $(RUSTC) main.rs --extern libc=$(TMPDIR)/liblibc.rlib