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 975a489 commit 6a8f0b4Copy full SHA for 6a8f0b4
src/internal/partial_solution.rs
@@ -244,6 +244,21 @@ impl<DP: DependencyProvider> PartialSolution<DP> {
244
self.next_global_index += 1;
245
}
246
247
+ /// The list of package that have not been selected after the last prioritization.
248
+ ///
249
+ /// This list gets updated by [`Self::pick_highest_priority_pkg`] and cleared by backtracking.
250
+ #[allow(clippy::type_complexity)]
251
+ pub fn undecided_packages(
252
+ &self,
253
+ ) -> impl Iterator<
254
+ Item = (
255
+ &Id<DP::P>,
256
+ &(<DP as DependencyProvider>::Priority, Reverse<u32>),
257
+ ),
258
+ > {
259
+ self.prioritized_potential_packages.iter()
260
+ }
261
+
262
/// Add a derivation.
263
pub(crate) fn add_derivation(
264
&mut self,
0 commit comments