Files
rust/src
Mazdak Farrokhzad 4711051b83 Rollup merge of #60270 - alexcrichton:metadata-multi-cgu, r=oli-obk
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!
2019-04-28 14:17:10 +02:00
..
2019-04-24 18:12:49 +02:00
2019-04-23 21:39:27 -07:00
2019-04-17 05:15:00 +02:00
2019-04-17 05:15:00 +02:00
2019-04-17 18:21:34 +09:00
2019-04-17 05:15:00 +02:00
2019-04-22 17:01:33 +01:00
2019-04-22 09:07:25 +02:00
2019-04-17 05:15:00 +02:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.

There is also useful content in the following READMEs, which are gradually being moved over to the guide: