Skip to content

Conversation

@celinval
Copy link

@celinval celinval commented Nov 2, 2024

This PR implements the invariant for Iter and IterMut and contains harnesses for some Iter methods. I commented out a bunch of harnesses that are currently failing until I can debug them further.

I am planning to add harnesses for IterMut later, but I could use some early feedback. Thanks!

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@celinval celinval requested a review from a team as a code owner November 2, 2024 01:38
@celinval celinval force-pushed the verify-iter branch 2 times, most recently from 3539fa1 to f9d1c17 Compare November 4, 2024 18:03
Copy link

@qinheping qinheping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@celinval celinval enabled auto-merge (squash) November 7, 2024 18:51
There are a few harnesses failing that needs further debugging.
I commented them out for now.
  - Improve first / last logic
  - Add comment to invariant
  - Fix IterMut invariant
@celinval
Copy link
Author

celinval commented Nov 7, 2024

trigger approval checks after rebase from main. Sorry, I accidentally rebased instead of merging.

Copy link
Author

@celinval celinval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. I forgot it has to be a review comment

@celinval celinval merged commit 25ad12b into model-checking:main Nov 7, 2024
celinval added a commit that referenced this pull request Dec 6, 2024
In #148 and #122, we had to comment out a few harnesses due to the issue
model-checking/kani#3670. But now that the fix
has been pushed, we can enable them.
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

Successfully merging this pull request may close these issues.

3 participants