Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
iliana committed Jun 21, 2024
1 parent 4a6a280 commit d3fe9af
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package/src/bin/omicron-package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ async fn do_for_all_rust_packages(
.0
.iter()
.map(|(name, value)| format!("{name}-{value}"))
.collect::<BTreeSet<_>>();
.collect::<Vec<_>>();

// We split the packages to be built into "release" and "debug" lists
let mut release =
Expand All @@ -196,10 +196,9 @@ async fn do_for_all_rust_packages(
})?;
// Add all features we want to request to the plan
plan.features.extend(
metadata
.features
.keys()
.filter(|feature| features.contains(*feature)),
features
.iter()
.filter(|feature| metadata.features.contains_key(*feature)),
);
}
}
Expand Down

0 comments on commit d3fe9af

Please sign in to comment.