Invoke callbacks from rustc_middle.
This commit is contained in:
parent
b09de95fab
commit
602d3cbce3
9 changed files with 42 additions and 47 deletions
|
@ -37,6 +37,12 @@ pub trait DepContext: Copy {
|
|||
fn is_eval_always(&self, kind: Self::DepKind) -> bool;
|
||||
|
||||
fn fingerprint_style(&self, kind: Self::DepKind) -> FingerprintStyle;
|
||||
|
||||
/// Try to force a dep node to execute and see if it's green.
|
||||
fn try_force_from_dep_node(&self, dep_node: &DepNode<Self::DepKind>) -> bool;
|
||||
|
||||
/// Load data from the on-disk cache.
|
||||
fn try_load_from_on_disk_cache(&self, dep_node: &DepNode<Self::DepKind>);
|
||||
}
|
||||
|
||||
pub trait HasDepContext: Copy {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue