Files
rust/src
kennytm 4f0f1102bf Rollup merge of #56609 - michaelwoerister:unconditional-target-cpu-attr, r=alexcrichton
Unconditionally emit the target-cpu LLVM attribute.

This PR makes `rustc` always emit the `target-cpu` LLVM attribute for functions. The goal is to allow for cross-language inlining of functions defined in `libstd`. So far `libstd` functions were the only function without a `target-cpu` attribute, so in whole-crate-graph cross-lang LTO scenarios they were not eligible for inlining into foreign code.

r? @alexcrichton
2018-12-14 22:10:04 +08:00
..
2018-12-04 00:30:27 +03:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-12-12 08:09:26 -08:00
2018-11-28 16:13:40 +01:00
2018-11-26 15:03:13 -06:00
2018-12-12 08:09:26 -08: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: