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 2f7eb42 commit 2bbce85Copy full SHA for 2bbce85
src/cargo/ops/resolve.rs
@@ -471,7 +471,7 @@ fn register_previous_locks(
471
// package's dependencies here as that'll be covered below to poison those
472
// if they changed.
473
let mut avoid_locking = HashSet::new();
474
- registry.add_to_yanked_whitelist(resolve.iter());
+ registry.add_to_yanked_whitelist(resolve.iter().filter(keep));
475
for node in resolve.iter() {
476
if !keep(&node) {
477
add_deps(resolve, node, &mut avoid_locking);
0 commit comments