]> git.lizzy.rs Git - rust.git/commit
rollup merge of #22115: nagisa/dedupe-cratetypes
authorAlex Crichton <alex@alexcrichton.com>
Tue, 10 Feb 2015 16:42:57 +0000 (08:42 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 10 Feb 2015 16:42:57 +0000 (08:42 -0800)
commitc33acf658a5b6e14d57016ea5a455277f7e0c966
treebe6ce2be87591db0949ca0dd07d1a2fe05f11c19
parentb6e5f1bfe8f10ad457237c08c8e4c346eac9bf07
parenta6e8496601767e59acce010531f8e4dfb40c7c0a
rollup merge of #22115: nagisa/dedupe-cratetypes

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.

r? @alexcrichton
src/librustc/session/config.rs