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

how to check the global cache #58

Closed
lcnr opened this issue Aug 11, 2023 · 1 comment
Closed

how to check the global cache #58

lcnr opened this issue Aug 11, 2023 · 1 comment

Comments

@lcnr
Copy link
Contributor

lcnr commented Aug 11, 2023

I don't know where else to put it, so:

We can test that the global cache is correct by randomly ignoring it when proving goal and checking that its result is equal to the recomputed one. We must not use the global cache if the current goal is already in the provisional result.

I did this as part of rust-lang/rust#114287 and it worked when compiling typenum and our UI tests, we should try this again in a crater run before stabilization however.

@lcnr
Copy link
Contributor Author

lcnr commented Sep 5, 2024

now just supported as part of the fuzzing impl

@lcnr lcnr closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant