From b86cd7ba749ab6ab807eface33ffd4e1bebe0ea8 Mon Sep 17 00:00:00 2001 From: Kareem Khazem Date: Tue, 18 Apr 2023 22:49:13 +0100 Subject: [PATCH 1/2] Bump Kani version to 0.26.0 * The Kani reference now includes an ["Attributes"](https://model-checking.github.io/kani/reference/attributes.html) section that describes each of the attributes available in Kani (by @adpaco-aws) * Users' choice of SAT solver, specified by the `solver` attribute, is now propagated to the loop-contract synthesizer (by @qinheping) * Unit tests generated by the concrete playback feature now compile correctly when using `RUSTFLAGS="--cfg=kani"` (by @jaisnan) * The Rust toolchain is updated to 2023-02-16 (by @tautschnig) --- CHANGELOG.md | 14 +++++++++++++- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 2 +- cprover_bindings/Cargo.toml | 2 +- kani-compiler/Cargo.toml | 2 +- kani-compiler/kani_queries/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 +- 12 files changed, 33 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47dec62e9c4a..921427e47cf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,21 @@ 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.26.0] + +### What's Changed + +* The Kani reference now includes an ["Attributes"](https://model-checking.github.io/kani/reference/attributes.html) section that describes each of the attributes available in Kani (by @adpaco-aws) +* Users' choice of SAT solver, specified by the `solver` attribute, is now propagated to the loop-contract synthesizer (by @qinheping) +* Unit tests generated by the concrete playback feature now compile correctly when using `RUSTFLAGS="--cfg=kani"` (by @jaisnan) +* The Rust toolchain is updated to 2023-02-16 (by @tautschnig) + +**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.25.0...kani-0.26.0 + + ## [0.25.0] -## What's Changed +### What's Changed * Add implementation for the `#[kani::should_panic]` attribute by @adpaco-aws in https://github.com/model-checking/kani/pull/2315 * Upgrade Rust toolchain to nightly-2023-02-04 by @tautschnig in https://github.com/model-checking/kani/pull/2324 diff --git a/Cargo.lock b/Cargo.lock index 20f4b85f3eb3..522e4a070de0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -142,7 +142,7 @@ dependencies = [ [[package]] name = "build-kani" -version = "0.25.0" +version = "0.26.0" dependencies = [ "anyhow", "cargo_metadata", @@ -287,7 +287,7 @@ dependencies = [ [[package]] name = "cprover_bindings" -version = "0.25.0" +version = "0.26.0" dependencies = [ "lazy_static", "linear-map", @@ -549,14 +549,14 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "kani" -version = "0.25.0" +version = "0.26.0" dependencies = [ "kani_macros", ] [[package]] name = "kani-compiler" -version = "0.25.0" +version = "0.26.0" dependencies = [ "ar", "atty", @@ -584,7 +584,7 @@ dependencies = [ [[package]] name = "kani-driver" -version = "0.25.0" +version = "0.26.0" dependencies = [ "anyhow", "atty", @@ -613,7 +613,7 @@ dependencies = [ [[package]] name = "kani-verifier" -version = "0.25.0" +version = "0.26.0" dependencies = [ "anyhow", "home", @@ -622,7 +622,7 @@ dependencies = [ [[package]] name = "kani_macros" -version = "0.25.0" +version = "0.26.0" dependencies = [ "proc-macro-error", "proc-macro2", @@ -632,7 +632,7 @@ dependencies = [ [[package]] name = "kani_metadata" -version = "0.25.0" +version = "0.26.0" dependencies = [ "cprover_bindings", "serde", @@ -642,7 +642,7 @@ dependencies = [ [[package]] name = "kani_queries" -version = "0.25.0" +version = "0.26.0" dependencies = [ "strum", "strum_macros", @@ -1227,7 +1227,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "std" -version = "0.25.0" +version = "0.26.0" dependencies = [ "kani", ] diff --git a/Cargo.toml b/Cargo.toml index 347a532b5d23..bb70ccc6bec2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-verifier" -version = "0.25.0" +version = "0.26.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 c9f3a3edd97a..7f3172c84930 100644 --- a/cprover_bindings/Cargo.toml +++ b/cprover_bindings/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "cprover_bindings" -version = "0.25.0" +version = "0.26.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/kani-compiler/Cargo.toml b/kani-compiler/Cargo.toml index 043af0a18a15..1528145ca562 100644 --- a/kani-compiler/Cargo.toml +++ b/kani-compiler/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-compiler" -version = "0.25.0" +version = "0.26.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/kani-compiler/kani_queries/Cargo.toml b/kani-compiler/kani_queries/Cargo.toml index 8908bab510a9..ca530f619e58 100644 --- a/kani-compiler/kani_queries/Cargo.toml +++ b/kani-compiler/kani_queries/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani_queries" -version = "0.25.0" +version = "0.26.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/kani-driver/Cargo.toml b/kani-driver/Cargo.toml index 7e060d3f15aa..95e9260332f7 100644 --- a/kani-driver/Cargo.toml +++ b/kani-driver/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani-driver" -version = "0.25.0" +version = "0.26.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 855511fe9dde..27672898edd4 100644 --- a/kani_metadata/Cargo.toml +++ b/kani_metadata/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani_metadata" -version = "0.25.0" +version = "0.26.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/library/kani/Cargo.toml b/library/kani/Cargo.toml index f0ba79c3c02e..04bf5c6179db 100644 --- a/library/kani/Cargo.toml +++ b/library/kani/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani" -version = "0.25.0" +version = "0.26.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 4dbbd5edd244..39b3a733f32c 100644 --- a/library/kani_macros/Cargo.toml +++ b/library/kani_macros/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "kani_macros" -version = "0.25.0" +version = "0.26.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 94ed42f15055..6e1dbbb634b3 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.25.0" +version = "0.26.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 9c4fd2dbb654..2fd7230b8c0c 100644 --- a/tools/build-kani/Cargo.toml +++ b/tools/build-kani/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "build-kani" -version = "0.25.0" +version = "0.26.0" edition = "2021" description = "Builds Kani, Sysroot and release bundle." license = "MIT OR Apache-2.0" From f626b6dd99e0323d10b18955e85863a804f2916c Mon Sep 17 00:00:00 2001 From: Kareem Khazem Date: Tue, 18 Apr 2023 22:49:13 +0100 Subject: [PATCH 2/2] Bump Kani version to 0.26.0 * The Kani reference now includes an ["Attributes"](https://model-checking.github.io/kani/reference/attributes.html) section that describes each of the attributes available in Kani ([pull request](https://github.com/model-checking/kani/pull/2359) by @adpaco-aws) * Users' choice of SAT solver, specified by the `solver` attribute, is now propagated to the loop-contract synthesizer ([pull request](https://github.com/model-checking/kani/pull/2320) by @qinheping) * Unit tests generated by the concrete playback feature now compile correctly when using `RUSTFLAGS="--cfg=kani"` ([pull request](https://github.com/model-checking/kani/pull/2353) by @jaisnan) * The Rust toolchain is updated to 2023-02-18 ([pull request](https://github.com/model-checking/kani/pull/2384) by @tautschnig) --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 921427e47cf3..435aea425f4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,10 @@ This file was introduced starting Kani 0.23.0, so it only contains changes from ### What's Changed -* The Kani reference now includes an ["Attributes"](https://model-checking.github.io/kani/reference/attributes.html) section that describes each of the attributes available in Kani (by @adpaco-aws) -* Users' choice of SAT solver, specified by the `solver` attribute, is now propagated to the loop-contract synthesizer (by @qinheping) -* Unit tests generated by the concrete playback feature now compile correctly when using `RUSTFLAGS="--cfg=kani"` (by @jaisnan) -* The Rust toolchain is updated to 2023-02-16 (by @tautschnig) +* The Kani reference now includes an ["Attributes"](https://model-checking.github.io/kani/reference/attributes.html) section that describes each of the attributes available in Kani ([pull request](https://github.com/model-checking/kani/pull/2359) by @adpaco-aws) +* Users' choice of SAT solver, specified by the `solver` attribute, is now propagated to the loop-contract synthesizer ([pull request](https://github.com/model-checking/kani/pull/2320) by @qinheping) +* Unit tests generated by the concrete playback feature now compile correctly when using `RUSTFLAGS="--cfg=kani"` ([pull request](https://github.com/model-checking/kani/pull/2353) by @jaisnan) +* The Rust toolchain is updated to 2023-02-18 ([pull request](https://github.com/model-checking/kani/pull/2384) by @tautschnig) **Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.25.0...kani-0.26.0