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 StableMIR Context.
- convert ๐
- Conversion of internal Rust compiler items to stable ones.
Structsยง
Traitsยง
- Stable
- Trait used to convert between an internal MIR type to a Stable MIR type.
Functionsยง
- filter_
def_ ๐ids - Iterate over the definitions of the given crate.
- new_
item_ ๐kind - smir_
crate ๐ - Build a stable mir crate from a given crate number.