Stephen Crane 32168a3df7 Allow different global references to the same name
Combining CGUs can result in code that references a static variable through both
an Item and a ForeignItem with the same name. We don't care that the global was
already created by a ForeignItem reference when we see the Item reference, as
long as the LLVM types of the ForeignItem and Item match.

Fixes #66464
2019-11-18 16:27:59 -08:00
..
2019-11-16 09:37:45 +01:00
2019-11-17 01:11:28 +03:00
2019-11-17 01:11:28 +03:00
2019-11-17 01:11:28 +03: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.