Skip to content

Commit 8b8cd04

Browse files
committed
fix: Don't pass feature flags to rustc private crates metadata invocation
1 parent ad91622 commit 8b8cd04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/project-model/src/workspace.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ impl ProjectWorkspace {
254254
match CargoWorkspace::fetch_metadata(
255255
&rustc_dir,
256256
cargo_toml.parent(),
257-
config,
257+
&CargoConfig {
258+
features: crate::CargoFeatures::default(),
259+
..config.clone()
260+
},
258261
progress,
259262
) {
260263
Ok(meta) => {

0 commit comments

Comments
 (0)