aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorDaniel McNab <[email protected]>2021-03-08 16:42:18 +0000
committerDaniel McNab <[email protected]>2021-03-08 16:42:18 +0000
commitd0a51d710edf5893d1f8ffe58647fd4aa795096c (patch)
treec2862304dde4cae6ad05503407b4d1757fa44c67 /crates
parentd5d406fa780a18d350fc925f0753c0ec5eaa4a62 (diff)
Never run cargo check on the rustc source
Diffstat (limited to 'crates')
-rw-r--r--crates/project_model/src/workspace.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/project_model/src/workspace.rs b/crates/project_model/src/workspace.rs
index 6001d694f..1b53fcc30 100644
--- a/crates/project_model/src/workspace.rs
+++ b/crates/project_model/src/workspace.rs
@@ -276,11 +276,8 @@ impl ProjectWorkspace {
276 276
277 pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) { 277 pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) {
278 match self { 278 match self {
279 ProjectWorkspace::Cargo { cargo, rustc, .. } => { 279 ProjectWorkspace::Cargo { cargo, .. } => {
280 collector.add_config(&cargo.workspace_root(), cargo.build_data_config().clone()); 280 collector.add_config(&cargo.workspace_root(), cargo.build_data_config().clone());
281 if let Some(rustc) = rustc {
282 collector.add_config(rustc.workspace_root(), rustc.build_data_config().clone());
283 }
284 } 281 }
285 _ => {} 282 _ => {}
286 } 283 }