mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Add alloc -> core dependency
This commit is contained in:
parent
a3a03b65dc
commit
dafa177088
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ impl Sysroot {
|
|||
}
|
||||
}
|
||||
}
|
||||
if let Some(alloc) = sysroot.by_name("alloc") {
|
||||
if let Some(core) = sysroot.by_name("core") {
|
||||
sysroot.crates[alloc].deps.push(core);
|
||||
}
|
||||
}
|
||||
Ok(sysroot)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue