Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 579797f

Browse files
committed
Auto merge of rust-lang#14357 - Veykril:rustc-priv, r=Veykril
fix: Don't pass feature flags to rustc private crates metadata invocation Fixes rust-lang/rust-analyzer#14327 Better error reporting I'll do in a follow up
2 parents e611fbe + 8b8cd04 commit 579797f

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)