mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
fix: Don't pass feature flags to rustc private crates metadata invocation
This commit is contained in:
parent
ad91622d11
commit
8b8cd04825
1 changed files with 4 additions and 1 deletions
|
@ -254,7 +254,10 @@ impl ProjectWorkspace {
|
||||||
match CargoWorkspace::fetch_metadata(
|
match CargoWorkspace::fetch_metadata(
|
||||||
&rustc_dir,
|
&rustc_dir,
|
||||||
cargo_toml.parent(),
|
cargo_toml.parent(),
|
||||||
config,
|
&CargoConfig {
|
||||||
|
features: crate::CargoFeatures::default(),
|
||||||
|
..config.clone()
|
||||||
|
},
|
||||||
progress,
|
progress,
|
||||||
) {
|
) {
|
||||||
Ok(meta) => {
|
Ok(meta) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue