rust/src/test/run-make/alloc-extern-crates/Makefile
2017-08-25 16:18:21 -04:00

5 lines
214 B
Makefile

-include ../tools.mk
all:
$(RUSTC) fakealloc.rs
$(RUSTC) --crate-type=rlib ../../../liballoc/lib.rs --cfg feature=\"external_crate\" --extern external=$(TMPDIR)/$(shell $(RUSTC) --print file-names fakealloc.rs)