Contracts and harnesses for dangling, from_raw_parts, slice_from_raw_parts, to_raw_parts in NonNull#127
Conversation
…/danielhumanmod/verify-rust-std into olivia/pointer_creation_and_init
|
@zhassan-aws I just starting to get compiler errors when I run kani on this branch: I just pulled the latest kani changes and re-built it but the error persists. Latest kani git log: @danielhumanmode also reproduced this error on his local environment and found that Kani compiled the code successfully on commit 13e6695(before the latest merge from main). |
@QinyuanWu Is there a reason why you're running on Kani's main branch instead of the features/verify-rust-std branch? If not, please try running Kani from the features/verify-rust-std branch instead. |
@carolynzech This resolved the compiler errors in PR #105 but not this one ;-; |
|
Did you merge the latest commits (including at least 6aa2661)? |
|
If you have the up-to-date changes, these should be the contents of $ cat tool_config/kani-version.toml
# This version should be updated whenever there is a change that makes this version of kani
# incompatible with the verify-std repo.
[kani]
commit = "26c078e097025499baf6e360210a21989d3605e0" |
|
@zhassan-aws Thank you the compiler issue is resolved after running the script and executing kani from |
zhassan-aws
left a comment
There was a problem hiding this comment.
Almost there. Can you also resolve the conflict?
|
@zhassan-aws Resolved comments and conflicts: |
zhassan-aws
left a comment
There was a problem hiding this comment.
Please re-resolve the conflicts, and I'll merge it.
|
@zhassan-aws Resolved conflicts. Thank you so much! |
Towards #53
Contracts and harnesses for
dangling,from_raw_parts,slice_from_raw_parts,to_raw_partsin NonNullDiscussion
NonNull::slice_from_raw_parts: requested new Kani API to compare byte by byteNonNull::to_raw_parts: unstable vtable comparison 'Eq'Verification Result
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.