mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Handle multiple projects sharing dependency correctly in once
strategy
This commit is contained in:
parent
b25f65739a
commit
859f5594ac
3 changed files with 30 additions and 11 deletions
|
@ -333,7 +333,7 @@ impl ProjectWorkspace {
|
|||
progress: &dyn Fn(String),
|
||||
) -> Vec<Result<WorkspaceBuildScripts>> {
|
||||
if matches!(config.invocation_strategy, InvocationStrategy::PerWorkspace)
|
||||
|| config.run_build_script_command.is_some()
|
||||
|| config.run_build_script_command.is_none()
|
||||
{
|
||||
return workspaces.iter().map(|it| it.run_build_scripts(config, progress)).collect();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue