[][src]Module rustc_mir::interpret::snapshot

🔬 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 the machinery necessary to detect infinite loops during const-evaluation by taking snapshots of the state of the interpreter at regular intervals.

Structs

AllocIdSnapshot [
Experimental
]
AllocationSnapshot [
Experimental
]
EvalSnapshot [
Experimental
]

The virtual machine state during const-evaluation at a given point in time.

FrameSnapshot [
Experimental
]
InfiniteLoopDetector [
Experimental
]
MemorySnapshot [
Experimental
]

Traits

Snapshot [
Experimental
]

Taking a snapshot of the evaluation context produces a view of the state of the interpreter that is invariant to AllocIds.

SnapshotContext [
Experimental
]