We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0131488 commit 99b25ddCopy full SHA for 99b25dd
src/internal/partial_solution.rs
@@ -241,6 +241,21 @@ impl<DP: DependencyProvider> PartialSolution<DP> {
241
self.next_global_index += 1;
242
}
243
244
+ /// The list of package that have not been selected after the last prioritization.
245
+ ///
246
+ /// This list gets updated by [`Self::pick_highest_priority_pkg`] and cleared by backtracking.
247
+ #[allow(clippy::type_complexity)]
248
+ pub fn undecided_packages(
249
+ &self,
250
+ ) -> impl Iterator<
251
+ Item = (
252
+ &Id<DP::P>,
253
+ &(<DP as DependencyProvider>::Priority, Reverse<u32>),
254
+ ),
255
+ > {
256
+ self.prioritized_potential_packages.iter()
257
+ }
258
+
259
/// Add a derivation.
260
pub(crate) fn add_derivation(
261
&mut self,
0 commit comments