Skip to content

Commit

Permalink
feat: add requirement to debug output (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra authored Jan 26, 2024
1 parent 53a14d5 commit d39c732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/solver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,12 +608,12 @@ impl<VS: VersionSet, N: PackageName + Display, D: DependencyProvider<VS, N>> Sol
}
}

if let Some((count, (candidate, solvable_id, _clause_id))) = best_decision {
if let Some((count, (candidate, _solvable_id, clause_id))) = best_decision {
tracing::info!(
"deciding to assign {} with {} candidates (required by {})",
"deciding to assign {}, ({:?}, {} possible candidates)",
candidate.display(self.pool()),
self.clauses[clause_id].debug(self.pool()),
count,
solvable_id.display(self.pool())
);
}

Expand Down

0 comments on commit d39c732

Please sign in to comment.