stable_mir/lib.rs
1//! We've temporarily moved the `stable_mir` implementation to [`rustc_smir::stable_mir`],
2//! during refactoring to break the circular dependency between `rustc_smir` and `stable_mir`,
3//!
4//! This is a transitional measure as described in [PR #139319](https://github.com/rust-lang/rust/pull/139319).
5//! Once the refactoring is complete, the `stable_mir` implementation will be moved back here.
6
7/// Export the rustc_internal APIs. Note that this module has no stability
8/// guarantees and it is not taken into account for semver.
9#[cfg(feature = "rustc_internal")]
10pub use rustc_smir::rustc_internal;
11pub use rustc_smir::stable_mir::*;