Don't drop rustc crates in the rustc workspace
This commit is contained in:
parent
32424d0aba
commit
88f2abb8f7
@ -249,10 +249,6 @@ pub fn load(
|
|||||||
};
|
};
|
||||||
|
|
||||||
let rustc = match rustc_dir {
|
let rustc = match rustc_dir {
|
||||||
Some(rustc_dir) if rustc_dir == cargo_toml => {
|
|
||||||
tracing::info!(rustc_dir = %rustc_dir.display(), "Workspace is the rustc workspace itself, not adding the rustc workspace separately");
|
|
||||||
None
|
|
||||||
}
|
|
||||||
Some(rustc_dir) => {
|
Some(rustc_dir) => {
|
||||||
tracing::info!(workspace = %cargo_toml.display(), rustc_dir = %rustc_dir.display(), "Using rustc source");
|
tracing::info!(workspace = %cargo_toml.display(), rustc_dir = %rustc_dir.display(), "Using rustc source");
|
||||||
match CargoWorkspace::fetch_metadata(
|
match CargoWorkspace::fetch_metadata(
|
||||||
|
Loading…
Reference in New Issue
Block a user