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 60aa4d1 commit 4ee3c52Copy full SHA for 4ee3c52
crates/ra_project_model/src/cargo_workspace.rs
@@ -165,7 +165,7 @@ impl CargoWorkspace {
165
// FIXME: `NoDefaultFeatures` is mutual exclusive with `SomeFeatures`
166
// https://github.com/oli-obk/cargo_metadata/issues/79
167
meta.features(CargoOpt::NoDefaultFeatures);
168
- } else {
+ } else if cargo_features.features.len() > 0 {
169
meta.features(CargoOpt::SomeFeatures(cargo_features.features.clone()));
170
}
171
if let Some(parent) = cargo_toml.parent() {
0 commit comments