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 StableMIR Context.
convert ๐Ÿ”’
Conversion of internal Rust compiler items to stable ones.

Structsยง

Tables

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.