Struct rustc::dep_graph::graph::DepGraphData [−][src]
struct DepGraphData { current: Lock<CurrentDepGraph>, previous: PreviousDepGraph, colors: Lock<DepNodeColorMap>, previous_work_products: RwLock<FxHashMap<WorkProductId, WorkProduct>>, work_products: RwLock<FxHashMap<WorkProductId, WorkProduct>>, dep_node_debug: Lock<FxHashMap<DepNode, String>>, loaded_from_cache: Lock<FxHashMap<DepNodeIndex, bool>>, }
🔬 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?
Fields
current: Lock<CurrentDepGraph>
🔬 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?
The new encoding of the dependency graph, optimized for red/green
tracking. The current
field is the dependency graph of only the
current compilation session: We don't merge the previous dep-graph into
current one anymore.
previous: PreviousDepGraph
🔬 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?
The dep-graph from the previous compilation session. It contains all nodes and edges as well as all fingerprints of nodes that have them.
colors: Lock<DepNodeColorMap>
🔬 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?
previous_work_products: RwLock<FxHashMap<WorkProductId, WorkProduct>>
🔬 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?
When we load, there may be .o
files, cached mir, or other such
things available to us. If we find that they are not dirty, we
load the path to the file storing those work-products here into
this map. We can later look for and extract that data.
work_products: RwLock<FxHashMap<WorkProductId, WorkProduct>>
🔬 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?
Work-products that we generate in this run.
dep_node_debug: Lock<FxHashMap<DepNode, String>>
🔬 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?
loaded_from_cache: Lock<FxHashMap<DepNodeIndex, bool>>
🔬 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?
Auto Trait Implementations
impl Send for DepGraphData
impl Send for DepGraphData
impl !Sync for DepGraphData
impl !Sync for DepGraphData