mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Fix patch_cfg_if
not applying with stitched sysroot
This commit is contained in:
parent
23dd54b010
commit
600747a1b4
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@ impl ProjectWorkspace {
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
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()
|
&& crate_graph.patch_cfg_if()
|
||||||
{
|
{
|
||||||
tracing::debug!("Patched std to depend on cfg-if")
|
tracing::debug!("Patched std to depend on cfg-if")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue