mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
{manifest-path} interpolation
This commit is contained in:
parent
5174b65ed8
commit
7db50294a3
8 changed files with 118 additions and 103 deletions
|
@ -323,9 +323,7 @@ impl ProjectWorkspace {
|
|||
config: &CargoConfig,
|
||||
progress: &dyn Fn(String),
|
||||
) -> Vec<Result<WorkspaceBuildScripts>> {
|
||||
if let InvocationStrategy::PerWorkspaceWithManifestPath | InvocationStrategy::PerWorkspace =
|
||||
config.invocation_strategy
|
||||
{
|
||||
if let InvocationStrategy::PerWorkspace = config.invocation_strategy {
|
||||
return workspaces.iter().map(|it| it.run_build_scripts(config, progress)).collect();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue