Expand description
Crate that implements what will become the rustc side of Stable MIR.
This crate is responsible for building Stable MIR components from internal components.
This crate is not intended to be invoked directly by users.
This crate is the public API of rustc that will be invoked by the stable_mir
crate.
For more information see https://github.com/rust-lang/project-stable-mir
§Note
This API is still completely unstable and subject to change.
Modules§
- alloc
- Internal memory allocator implementation for StableMIR.
- bridge
- Defines a set of traits that is used for abstracting stable_mir’s components that are needed in rustc_smir.
- builder 🔒
- Logic required to produce a monomorphic stable body.
- context
- Implementation of StableMIR Context.
- rustc_
internal Deprecated
Structs§
- Index
Map - Similar to rustc’s
FxIndexMap
,IndexMap
with extra safety features added. - Smir
Container - A container which is used for TLS.
- Tables
Traits§
- Bridge
- A trait defining types that are used to emulate StableMIR components, which is really useful when programming in stable_mir-agnostic settings.
- Indexed
Val
Functions§
- filter_
def_ 🔒ids - Iterate over the definitions of the given crate.