1 2 3 4 5
include ../tools.mk all: $(RUSTC) --crate-type=rlib foo.rs $(RUSTC) --crate-type=rlib,rlib foo.rs