include ../tools.mk all: $(RUSTC) --crate-type=rlib foo.rs $(RUSTC) --crate-type=rlib,rlib foo.rs