Fix patch_cfg_if
not applying with stitched sysroot
This commit is contained in:
parent
23dd54b010
commit
600747a1b4
@ -775,7 +775,7 @@ pub fn to_crate_graph(
|
||||
),
|
||||
};
|
||||
|
||||
if matches!(sysroot.as_ref().map(|it| it.mode()), Ok(SysrootMode::Workspace(_)))
|
||||
if matches!(sysroot.as_ref().map(|it| it.mode()), Ok(SysrootMode::Stitched(_)))
|
||||
&& crate_graph.patch_cfg_if()
|
||||
{
|
||||
tracing::debug!("Patched std to depend on cfg-if")
|
||||
|
Loading…
Reference in New Issue
Block a user