Skip to content

Commit

Permalink
Remove debug panic in package-features.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Aug 5, 2019
1 parent 742ccbd commit 88d3b4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cargo/ops/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ pub fn resolve_with_previous<'cfg>(
failure::bail!("cannot specify features for packages outside of workspace");
}
members.extend(ws.members());
panic!("tested?");
}
}
for member in members {
Expand Down
3 changes: 3 additions & 0 deletions tests/testsuite/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,9 @@ fn combining_features_and_package() {
p.cargo("run -Z package-features --package bar --features main")
.masquerade_as_nightly_cargo()
.run();
p.cargo("build -Z package-features --package dep")
.masquerade_as_nightly_cargo()
.run();
}

#[cargo_test]
Expand Down

0 comments on commit 88d3b4c

Please sign in to comment.