1
Github Always produce sub-obligations when using cached projection result by Aar...
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.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK