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

Build the verification libraries using Kani compiler #2534

Merged
merged 3 commits into from
Jun 16, 2023

Conversation

celinval
Copy link
Contributor

@celinval celinval commented Jun 15, 2023

Description of changes:

This will ensure we run Kani extra validation checks in our libraries.

Resolved issues:

Resolves #2533

Related RFC:

Call-outs:

By default, the Kani compiler will not codegen anything, so this change shouldn't generate Goto. Because of that, this change reduced the size of the verification library *rlib files by almost 60MB

Testing:

  • How is this change tested?

  • Is this a refactor change?

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.

This will ensure we run Kani extra validation checks in our libraries.
tools/build-kani/src/sysroot.rs Outdated Show resolved Hide resolved
tools/build-kani/src/sysroot.rs Outdated Show resolved Hide resolved
tools/build-kani/src/sysroot.rs Outdated Show resolved Hide resolved
tools/build-kani/src/sysroot.rs Outdated Show resolved Hide resolved
@celinval celinval enabled auto-merge (squash) June 16, 2023 18:46
@celinval celinval merged commit 517fde4 into model-checking:main Jun 16, 2023
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.

Build Kani library with the kani-compiler
2 participants