rustc_smir

Module rustc_smir

Source
Expand description

Module that implements what will become the rustc side of Stable MIR. This module is responsible for building Stable MIR components from internal components.

This module is not intended to be invoked directly by users. It will eventually become the public API of rustc that will be invoked by the stable_mir crate.

For now, we are developing everything inside rustc, thus, we keep this module private.

Modulesยง

  • alloc ๐Ÿ”’
  • builder ๐Ÿ”’
    Logic required to produce a monomorphic stable body.
  • context ๐Ÿ”’
    Implementation of [stable_mir::compiler_interface::Context] trait.
  • convert ๐Ÿ”’
    Conversion of internal Rust compiler items to stable ones.

Structsยง

Traitsยง

  • Trait used to convert between an internal MIR type to a Stable MIR type.

Functionsยง