Auto merge of #14357 - Veykril:rustc-priv, r=Veykril
fix: Don't pass feature flags to rustc private crates metadata invocation Fixes https://github.com/rust-lang/rust-analyzer/issues/14327 Better error reporting I'll do in a follow up
This commit is contained in:
commit
579797f0ec
@ -254,7 +254,10 @@ pub fn load(
|
|||||||
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…
Reference in New Issue
Block a user