Never run cargo check on the rustc source

This commit is contained in:
Daniel McNab 2021-03-08 16:42:18 +00:00
parent d5d406fa78
commit d0a51d710e

View file

@ -276,11 +276,8 @@ impl ProjectWorkspace {
pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) { pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) {
match self { match self {
ProjectWorkspace::Cargo { cargo, rustc, .. } => { ProjectWorkspace::Cargo { cargo, .. } => {
collector.add_config(&cargo.workspace_root(), cargo.build_data_config().clone()); 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());
}
} }
_ => {} _ => {}
} }