1

Github Always produce sub-obligations when using cached projection result by Aar...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/85382
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Member

Aaron1011 commented 18 days ago

edited

See #85360

When we skip adding the sub-obligations to the obligation list, we can affect whether or not the final result is EvaluatedToOk or EvaluatedToOkModuloObligations. This creates problems for incremental compilation, since the projection cache is untracked shared state.

To solve this issue, we unconditionally process the sub-obligations. Surprisingly, this is a slight performance win in many cases.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK