diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-24 08:12:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-24 08:12:58 +0200 |
| commit | 2a07f998d08ba787a095a4fefd2183c8eb9130af (patch) | |
| tree | a21a46e8600581865822dca27032b175abf2d920 /compiler/rustc_smir/src/lib.rs | |
| parent | 32b2428c8b6c7f9c163c313db9826ebf0d08ea6d (diff) | |
| parent | 5b390cdc58fb7f0f0a162f96c55b36641666cbb7 (diff) | |
| download | rust-2a07f998d08ba787a095a4fefd2183c8eb9130af.tar.gz rust-2a07f998d08ba787a095a4fefd2183c8eb9130af.zip | |
Rollup merge of #139852 - makai410:smir-refactor, r=celinval
StableMIR: Implement `CompilerInterface` This PR implements part of [the document](https://hackmd.io/``@celinaval/H1lJBGse0).`` With `TablesWrapper` wrapped by `CompilerInterface`, the stable-mir's TLV stores a pointer to `CompilerInterface`, while the rustc-specific TLV stores a pointer to tables.
Diffstat (limited to 'compiler/rustc_smir/src/lib.rs')
| -rw-r--r-- | compiler/rustc_smir/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_smir/src/lib.rs b/compiler/rustc_smir/src/lib.rs index 77e5f3423d1..771ff98d58d 100644 --- a/compiler/rustc_smir/src/lib.rs +++ b/compiler/rustc_smir/src/lib.rs @@ -19,7 +19,6 @@ pub mod rustc_internal; -// Make this module private for now since external users should not call these directly. -mod rustc_smir; +pub mod rustc_smir; pub mod stable_mir; |
