Add alloc -> core dependency
This commit is contained in:
parent
a3a03b65dc
commit
dafa177088
@ -70,6 +70,11 @@ pub fn discover(cargo_toml: &Path) -> Result<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…
Reference in New Issue
Block a user