aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-10-20 11:34:39 +0100
committerAleksey Kladov <[email protected]>2020-10-20 11:34:39 +0100
commit7a21e9302e194d5ed2a008417130c54cfa52ca24 (patch)
treea2d1b428e99802d8a7fe7c73a0633601cf217b24 /crates/project_model
parent378dd90bab65fa6df078444c3932118105a460b8 (diff)
Add a hacky remidy for #6038
The proper fix I think is: * move rust-lang/rust library crates to a separate workspace * when packaging rust-src component, vendor sources of external deps
Diffstat (limited to 'crates/project_model')
-rw-r--r--crates/project_model/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/project_model/src/lib.rs b/crates/project_model/src/lib.rs
index d1e7602fc..ea95d1c77 100644
--- a/crates/project_model/src/lib.rs
+++ b/crates/project_model/src/lib.rs
@@ -485,6 +485,11 @@ impl ProjectWorkspace {
485 } 485 }
486 } 486 }
487 } 487 }
488 if crate_graph.patch_cfg_if() {
489 log::debug!("Patched std to depend on cfg-if")
490 } else {
491 log::debug!("Did not patch std to depend on cfg-if")
492 }
488 crate_graph 493 crate_graph
489 } 494 }
490} 495}