Auto merge of #13667 - Veykril:detached-files-sysroot, r=Veykril

Handle sysroot config in detached-files workspaces
This commit is contained in:
bors 2022-11-24 09:21:44 +00:00
commit 81d26e730e
2 changed files with 42 additions and 22 deletions

View file

@ -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);