Skip to content

Commit d0a51d7

Browse files
committed
Never run cargo check on the rustc source
1 parent d5d406f commit d0a51d7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/project_model/src/workspace.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,8 @@ impl ProjectWorkspace {
276276

277277
pub fn collect_build_data_configs(&self, collector: &mut BuildDataCollector) {
278278
match self {
279-
ProjectWorkspace::Cargo { cargo, rustc, .. } => {
279+
ProjectWorkspace::Cargo { cargo, .. } => {
280280
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-
}
284281
}
285282
_ => {}
286283
}

0 commit comments

Comments
 (0)