Use scoped-tls for SMIR to map between TyCtxt and SMIR datastructures
This commit is contained in:
parent
56d507dc92
commit
361df86a8d
4 changed files with 19 additions and 14 deletions
|
@ -19,3 +19,6 @@ pub mod stable_mir;
|
|||
|
||||
// Make this module private for now since external users should not call these directly.
|
||||
mod rustc_smir;
|
||||
|
||||
#[macro_use]
|
||||
extern crate scoped_tls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue