move shims (foreign items and intrinsics) into submodule
This commit is contained in:
parent
c29fd090f5
commit
b8879f3d8c
@ -12,9 +12,8 @@ extern crate rustc_data_structures;
|
||||
extern crate rustc_mir;
|
||||
extern crate rustc_target;
|
||||
|
||||
mod fn_call;
|
||||
mod shims;
|
||||
mod operator;
|
||||
mod intrinsic;
|
||||
mod helpers;
|
||||
mod tls;
|
||||
mod range_map;
|
||||
@ -29,9 +28,9 @@ pub use rustc_mir::interpret::*;
|
||||
// Resolve ambiguity.
|
||||
pub use rustc_mir::interpret::{self, AllocMap, PlaceTy};
|
||||
|
||||
pub use crate::fn_call::EvalContextExt as MissingFnsEvalContextExt;
|
||||
pub use crate::shims::foreign_items::EvalContextExt as ForeignItemsEvalContextExt;
|
||||
pub use crate::shims::intrinsics::EvalContextExt as IntrinsicsEvalContextExt;
|
||||
pub use crate::operator::EvalContextExt as OperatorEvalContextExt;
|
||||
pub use crate::intrinsic::EvalContextExt as IntrinsicEvalContextExt;
|
||||
pub use crate::tls::{EvalContextExt as TlsEvalContextExt, TlsData};
|
||||
pub use crate::range_map::RangeMap;
|
||||
pub use crate::helpers::{EvalContextExt as HelpersEvalContextExt};
|
||||
|
2
src/shims/mod.rs
Normal file
2
src/shims/mod.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub mod foreign_items;
|
||||
pub mod intrinsics;
|
Loading…
x
Reference in New Issue
Block a user