Auto merge of #805 - RalfJung:shims, r=RalfJung
move shims (foreign items and intrinsics) into submodule This is in preparation for dlsym support, where there will b a third "kind" of shim. And maybe some day we find a good way to split those long files...
This commit is contained in:
commit
048b00d20f
4 changed files with 5 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue