Skip to content

Commit 88f2abb

Browse files
committed
Don't drop rustc crates in the rustc workspace
1 parent 32424d0 commit 88f2abb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/project-model/src/workspace.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,6 @@ impl ProjectWorkspace {
249249
};
250250

251251
let rustc = match rustc_dir {
252-
Some(rustc_dir) if rustc_dir == cargo_toml => {
253-
tracing::info!(rustc_dir = %rustc_dir.display(), "Workspace is the rustc workspace itself, not adding the rustc workspace separately");
254-
None
255-
}
256252
Some(rustc_dir) => {
257253
tracing::info!(workspace = %cargo_toml.display(), rustc_dir = %rustc_dir.display(), "Using rustc source");
258254
match CargoWorkspace::fetch_metadata(

0 commit comments

Comments
 (0)