Module rustc_incremental::persist::load[][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?

Code to save/load the dep-graph from files.

Re-exports

use rustc::dep_graph::PreviousDepGraph;
use rustc::dep_graph::SerializedDepGraph;
use rustc::session::Session;
use rustc::ty::TyCtxt;
use rustc::ty::maps::OnDiskCache;
use rustc::util::common::time_ext;
use rustc_serialize::Decodable as RustcDecodable;
use rustc_serialize::opaque::Decoder;
use std::path::Path;
use std;
use super::data::*;
use super::fs::*;
use super::file_format;
use super::work_product;

Enums

LoadResult [
Experimental
]
MaybeAsync [
Experimental
]

Either a result that has already be computed or a handle that will let us wait until it is computed by a background thread.

Functions

delete_dirty_work_product [
Experimental
]
dep_graph_tcx_init [
Experimental
]
load_data [
Experimental
]
load_dep_graph [
Experimental
]

Launch a thread and load the dependency graph in the background.

load_query_result_cache [
Experimental
]