From d0a51d710edf5893d1f8ffe58647fd4aa795096c Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Mon, 8 Mar 2021 16:42:18 +0000 Subject: Never run cargo check on the rustc source --- crates/project_model/src/workspace.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates') 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 { pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) { match self { - ProjectWorkspace::Cargo { cargo, rustc, .. } => { + ProjectWorkspace::Cargo { cargo, .. } => { collector.add_config(&cargo.workspace_root(), cargo.build_data_config().clone()); - if let Some(rustc) = rustc { - collector.add_config(rustc.workspace_root(), rustc.build_data_config().clone()); - } } _ => {} } -- cgit v1.2.3