Skip to content

Commit 6db62a7

Browse files
committed
Auto merge of #8807 - ehuss:remove-unused-package-features, r=alexcrichton
Remove some unused code. This was accidentally left behind during some earlier reworks.
2 parents 2f115a7 + ea953de commit 6db62a7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cargo/core/resolver/features.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ pub struct ResolvedFeatures {
6565
/// Options for how the feature resolver works.
6666
#[derive(Default)]
6767
struct FeatureOpts {
68-
/// -Zpackage-features, changes behavior of feature flags in a workspace.
69-
package_features: bool,
7068
/// -Zfeatures is enabled, use new resolver.
7169
new_resolver: bool,
7270
/// Build deps and proc-macros will not share share features with other dep kinds.
@@ -125,7 +123,6 @@ impl FeatureOpts {
125123
) -> CargoResult<FeatureOpts> {
126124
let mut opts = FeatureOpts::default();
127125
let unstable_flags = ws.config().cli_unstable();
128-
opts.package_features = unstable_flags.package_features;
129126
let mut enable = |feat_opts: &Vec<String>| {
130127
opts.new_resolver = true;
131128
for opt in feat_opts {

0 commit comments

Comments
 (0)