Simonas Kazlauskas a6e8496601 Deduplicate --crate-type arguments
Crate types from multiple sources appear to be deduplicated properly, but not
deduplicated if they come from the command line arguments. At worst, this used
to cause compiler failures when `--crate-type=lib,rlib` (the same as
`--crate-type=rlib,rlib`, at least at the time of this commit) is provided and
generate the output multiple times otherwise.
2015-02-09 19:51:21 +02:00

6 lines
101 B
Makefile

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