Skip to content

Conversation

zhassan-aws
Copy link
Contributor

Description of changes:

Rename core::assert in Kani's std crate to work around the case of having an extern crate std as core line in the user crate, which results in making Kani's definition of the assert and panic macros (which both use core::assert) self-referential.

Resolved issues:

Resolves #1949

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

Testing:

  • How is this change tested? Added a new test

  • Is this a refactor change? No

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

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

@zhassan-aws zhassan-aws requested a review from a team as a code owner December 15, 2022 18:06
@zhassan-aws zhassan-aws merged commit f4796ea into model-checking:main Dec 15, 2022
@zhassan-aws zhassan-aws deleted the iss1949 branch December 15, 2022 19:33
@zhassan-aws zhassan-aws mentioned this pull request Mar 7, 2023
4 tasks
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.

Recursion limit reached compile error on chrono crate
2 participants