mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Never run cargo check on the rustc source
This commit is contained in:
parent
d5d406fa78
commit
d0a51d710e
1 changed files with 1 additions and 4 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue