]> git.lizzy.rs Git - rust.git/commit
Deduplicate --crate-type arguments
authorSimonas Kazlauskas <git@kazlauskas.me>
Mon, 9 Feb 2015 17:30:22 +0000 (19:30 +0200)
committerSimonas Kazlauskas <git@kazlauskas.me>
Mon, 9 Feb 2015 17:51:21 +0000 (19:51 +0200)
commita6e8496601767e59acce010531f8e4dfb40c7c0a
treea6190471ac69c27a7df481934ef3536a4b0a66a7
parent0ba9e1fa52627404a1e5b90f745f96a872a0c564
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.
src/librustc/session/config.rs
src/test/run-make/duplicate-output-flavors/Makefile