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ยง
- 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.