diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-04-25 09:06:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-04-25 09:06:38 -0700 |
| commit | 955f283e11dec628a988e23100f21ab92329b3bd (patch) | |
| tree | e248c451e3c8c2e04b89514d8abcecec457e2fe4 /src/test/incremental/thinlto | |
| parent | 112f7e9ac564e2cfcfc13d599c8376a219fde1bc (diff) | |
| download | rust-955f283e11dec628a988e23100f21ab92329b3bd.tar.gz rust-955f283e11dec628a988e23100f21ab92329b3bd.zip | |
rustc: Flag metadata compatible with multiple CGUs
It looks like the `OutputType::Metadata` kind in the compiler was misclassified in #38571 long ago by accident as incompatible with codegen units and a single output file. This means that if you emit both a linkable artifact and metadata it silently turns off multiple codegen units unintentionally! This commit corrects the situation to ensure that if `--emit metadata` is used it doesn't implicitly disable multiple codegen units. This will ensure we don't accidentally regress compiler performance when striving to implement pipelined compilation!
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
