Add a hacky remidy for #6038

The proper fix I think is:

* move rust-lang/rust library crates to a separate workspace
* when packaging rust-src component, vendor sources of external deps
This commit is contained in:
Aleksey Kladov 2020-10-20 12:34:39 +02:00
parent 378dd90bab
commit 7a21e9302e
2 changed files with 28 additions and 0 deletions

View file

@ -485,6 +485,11 @@ impl ProjectWorkspace {
}
}
}
if crate_graph.patch_cfg_if() {
log::debug!("Patched std to depend on cfg-if")
} else {
log::debug!("Did not patch std to depend on cfg-if")
}
crate_graph
}
}