mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Auto merge of #13667 - Veykril:detached-files-sysroot, r=Veykril
Handle sysroot config in detached-files workspaces
This commit is contained in:
commit
81d26e730e
2 changed files with 42 additions and 22 deletions
|
@ -158,8 +158,10 @@ impl GlobalState {
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
if !detached_files.is_empty() {
|
||||
workspaces
|
||||
.push(project_model::ProjectWorkspace::load_detached_files(detached_files));
|
||||
workspaces.push(project_model::ProjectWorkspace::load_detached_files(
|
||||
detached_files,
|
||||
&cargo_config,
|
||||
));
|
||||
}
|
||||
|
||||
tracing::info!("did fetch workspaces {:?}", workspaces);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue