1
Fork 0

Improve tracing logging

This commit is contained in:
Nilstrieb 2022-11-05 20:40:42 +01:00
parent 3da576804a
commit 91971f293c
No known key found for this signature in database
3 changed files with 17 additions and 43 deletions

View file

@ -52,9 +52,8 @@ pub trait DepContext: Copy {
}
/// Try to force a dep node to execute and see if it's green.
#[instrument(skip(self), level = "debug")]
fn try_force_from_dep_node(self, dep_node: DepNode<Self::DepKind>) -> bool {
debug!("try_force_from_dep_node({:?}) --- trying to force", dep_node);
let cb = self.dep_kind_info(dep_node.kind);
if let Some(f) = cb.force_from_dep_node {
f(self, dep_node);