Crate rustc_session

source ·

Re-exports

Modules

  • Some facilities for tracking how codegen-units are reused during incremental compilation. This is used for incremental compilation tests and debug output.
  • Contains infrastructure for configuring the compiler, including parsing command-line options.
  • the rustc crate store interface. This also includes types that are mostly used as a part of that interface, but these should probably get a better home if someone can find one.
  • A module for searching for libraries
  • options 🔒
  • Related to out filenames of compilation (e.g. save analysis, binaries).
  • Contains ParseSess which holds state living beyond what one Parser might. It also serves as an input to the parser itself.
  • session 🔒

Macros

Structs

Enums

Statics

  • Raw content of Fluent resource for this crate, generated by fluent_messages macro, imported by rustc_driver to include all crates’ resources in one bundle.

Traits

  • Requirements for a StableHashingContext to be used in this crate. This is a hack to allow using the HashStable_Generic derive macro instead of implementing everything in rustc_middle.

Functions