Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the evaluation cache when in intercrate mode #88994

Merged
merged 1 commit into from
Sep 18, 2021

Commits on Sep 15, 2021

  1. Disable the evaluation cache when in intercrate mode

    It's possible to use the same `InferCtxt` with both
    an intercrate and non-intercrate `SelectionContext`. However,
    the local (inferctxt) evaluation cache is not aware of this
    distinction, so this kind of `InferCtxt` re-use will pollute
    the cache wth bad results.
    
    This commit avoids the issue by disabling the evaluation cache
    entirely during intercrate mode.
    Aaron1011 committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    6d1f4d2 View commit details
    Browse the repository at this point in the history