From fda2b4233a784201f5144539998cc74da23ded0b Mon Sep 17 00:00:00 2001 From: Jaisurya Nanduri <91620234+jaisnan@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:00:20 -0400 Subject: [PATCH] Bump Kani version to 0.31.0 (#2569) --- CHANGELOG.md | 15 +++++++++++++-- Cargo.lock | 18 +++++++++--------- Cargo.toml | 2 +- cprover_bindings/Cargo.toml | 2 +- kani-compiler/Cargo.toml | 2 +- kani-driver/Cargo.toml | 2 +- kani_metadata/Cargo.toml | 2 +- library/kani/Cargo.toml | 2 +- library/kani_macros/Cargo.toml | 2 +- library/std/Cargo.toml | 2 +- tools/build-kani/Cargo.toml | 2 +- 11 files changed, 31 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2252091e688bd..37f29f7df732d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ This file contains notable changes (e.g. breaking changes, major changes, etc.) This file was introduced starting Kani 0.23.0, so it only contains changes from version 0.23.0 onwards. +## [0.31.0] + +## What's Changed +* Add `--exact` flag by @jaisnan in https://github.com/model-checking/kani/pull/2527 +* Build the verification libraries using Kani compiler by @celinval in https://github.com/model-checking/kani/pull/2534 +* Verify all Kani attributes in all crate items upfront by @celinval in https://github.com/model-checking/kani/pull/2536 +* Update README.md - fix link locations for badge images in markdown by @phayes in https://github.com/model-checking/kani/pull/2537 +* Bump CBMC version to 5.86.0 by @zhassan-aws in https://github.com/model-checking/kani/pull/2561 + +**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.30.0...kani-0.31.0 + ## [0.30.0] ## What's Changed @@ -92,7 +103,7 @@ This file was introduced starting Kani 0.23.0, so it only contains changes from ### Breaking Changes -- Remove the second parameter in the `kani::any_where` function by @zhassan-aws in #2257 +- Remove the second parameter in the `kani::any_where` function by @zhassan-aws in #2257 We removed the second parameter in the `kani::any_where` function (`_msg: &'static str`) to make the function more ergonomic to use. We suggest moving the explanation for why the assumption is introduced into a comment. For example, the following code: @@ -107,4 +118,4 @@ should be replaced by: ### Major Changes -- Enable the build cache to avoid recompiling crates that haven't changed, and introduce `--force-build` option to compile all crates from scratch by @celinval in #2232. +- Enable the build cache to avoid recompiling crates that haven't changed, and introduce `--force-build` option to compile all crates from scratch by @celinval in #2232. diff --git a/Cargo.lock b/Cargo.lock index c3192546a8472..4660575954f28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -125,7 +125,7 @@ dependencies = [ [[package]] name = "build-kani" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "cargo_metadata", @@ -270,7 +270,7 @@ dependencies = [ [[package]] name = "cprover_bindings" -version = "0.30.0" +version = "0.31.0" dependencies = [ "lazy_static", "linear-map", @@ -520,14 +520,14 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "kani" -version = "0.30.0" +version = "0.31.0" dependencies = [ "kani_macros", ] [[package]] name = "kani-compiler" -version = "0.30.0" +version = "0.31.0" dependencies = [ "atty", "clap", @@ -550,7 +550,7 @@ dependencies = [ [[package]] name = "kani-driver" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "atty", @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "kani-verifier" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "home", @@ -588,7 +588,7 @@ dependencies = [ [[package]] name = "kani_macros" -version = "0.30.0" +version = "0.31.0" dependencies = [ "proc-macro-error", "proc-macro2", @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "kani_metadata" -version = "0.30.0" +version = "0.31.0" dependencies = [ "cprover_bindings", "serde", @@ -1175,7 +1175,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "std" -version = "0.30.0" +version = "0.31.0" dependencies = [ "kani", ] diff --git a/Cargo.toml b/Cargo.toml index ea175207df0ea..e87c98d5241a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-verifier" -version = "0.30.0" +version = "0.31.0" edition = "2021" description = "A bit-precise model checker for Rust." readme = "README.md" diff --git a/cprover_bindings/Cargo.toml b/cprover_bindings/Cargo.toml index dfcf9d616acf6..aad7ccc3c8587 100644 --- a/cprover_bindings/Cargo.toml +++ b/cprover_bindings/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "cprover_bindings" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/kani-compiler/Cargo.toml b/kani-compiler/Cargo.toml index c47069f59d5d3..65f0183639909 100644 --- a/kani-compiler/Cargo.toml +++ b/kani-compiler/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-compiler" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/kani-driver/Cargo.toml b/kani-driver/Cargo.toml index 28bce4c30ce1d..18d6668308548 100644 --- a/kani-driver/Cargo.toml +++ b/kani-driver/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-driver" -version = "0.30.0" +version = "0.31.0" edition = "2021" description = "Build a project with Kani and run all proof harnesses" license = "MIT OR Apache-2.0" diff --git a/kani_metadata/Cargo.toml b/kani_metadata/Cargo.toml index a32dbb7b8db6a..1f71406bbad37 100644 --- a/kani_metadata/Cargo.toml +++ b/kani_metadata/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani_metadata" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/library/kani/Cargo.toml b/library/kani/Cargo.toml index 373ac53766e52..2dfd1e5e5291d 100644 --- a/library/kani/Cargo.toml +++ b/library/kani/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/library/kani_macros/Cargo.toml b/library/kani_macros/Cargo.toml index 0e2335f3c58bd..bfcdcb64afc0f 100644 --- a/library/kani_macros/Cargo.toml +++ b/library/kani_macros/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani_macros" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 90a44ca50a7b6..3ed8810f0c1d3 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -5,7 +5,7 @@ # Note: this package is intentionally named std to make sure the names of # standard library symbols are preserved name = "std" -version = "0.30.0" +version = "0.31.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/tools/build-kani/Cargo.toml b/tools/build-kani/Cargo.toml index 6feb881a93c79..eb4f686bc9f3d 100644 --- a/tools/build-kani/Cargo.toml +++ b/tools/build-kani/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "build-kani" -version = "0.30.0" +version = "0.31.0" edition = "2021" description = "Builds Kani, Sysroot and release bundle." license = "MIT OR Apache-2.0"