diff options
author | Daniel McNab <[email protected]> | 2021-03-08 16:42:18 +0000 |
---|---|---|
committer | Daniel McNab <[email protected]> | 2021-03-08 16:42:18 +0000 |
commit | d0a51d710edf5893d1f8ffe58647fd4aa795096c (patch) | |
tree | c2862304dde4cae6ad05503407b4d1757fa44c67 /crates/project_model/src | |
parent | d5d406fa780a18d350fc925f0753c0ec5eaa4a62 (diff) |
Never run cargo check on the rustc source
Diffstat (limited to 'crates/project_model/src')
-rw-r--r-- | crates/project_model/src/workspace.rs | 5 |
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 | } |