Use proc-macro-srv from sysroot in rust-project.json
This commit is contained in:
parent
6dfd8aebdf
commit
5d126a18b4
1 changed files with 3 additions and 1 deletions
|
@ -314,7 +314,9 @@ impl GlobalState {
|
|||
let mut args = args.clone();
|
||||
let mut path = path.clone();
|
||||
|
||||
if let ProjectWorkspace::Cargo { sysroot, .. } = ws {
|
||||
if let ProjectWorkspace::Cargo { sysroot, .. }
|
||||
| ProjectWorkspace::Json { sysroot, .. } = ws
|
||||
{
|
||||
tracing::debug!("Found a cargo workspace...");
|
||||
if let Some(sysroot) = sysroot.as_ref() {
|
||||
tracing::debug!("Found a cargo workspace with a sysroot...");
|
||||
|
|
Loading…
Reference in a new issue