Module rustc_mir::interpret::machine[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

This module contains everything needed to instantiate an interpreter. This separation exists to ensure that no fancy miri features like interpreting common C functions leak into CTFE.

Re-exports

use rustc::mir::interpret::AllocId;
use rustc::mir::interpret::EvalResult;
use rustc::mir::interpret::PrimVal;
use rustc::mir::interpret::MemoryPointer;
use rustc::mir::interpret::AccessKind;
use rustc::mir::interpret::GlobalId;
use super::EvalContext;
use super::Place;
use super::ValTy;
use super::Memory;
use rustc::mir;
use rustc::ty;
use rustc::ty::Ty;
use syntax::codemap::Span;
use syntax::ast::Mutability;

Traits

Machine [
Experimental
]

Methods of this trait signifies a point where CTFE evaluation would fail and some use case dependent behaviour can instead be applied