Skip to content

Commit

Permalink
Bump Kani version to 0.31.0 (rust-lang#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan authored Jun 27, 2023
1 parent ee4b0c8 commit fda2b42
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 20 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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.
18 changes: 9 additions & 9 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ dependencies = [

[[package]]
name = "build-kani"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"anyhow",
"cargo_metadata",
Expand Down Expand Up @@ -270,7 +270,7 @@ dependencies = [

[[package]]
name = "cprover_bindings"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"lazy_static",
"linear-map",
Expand Down Expand Up @@ -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",
Expand All @@ -550,7 +550,7 @@ dependencies = [

[[package]]
name = "kani-driver"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"anyhow",
"atty",
Expand Down Expand Up @@ -579,7 +579,7 @@ dependencies = [

[[package]]
name = "kani-verifier"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"anyhow",
"home",
Expand All @@ -588,7 +588,7 @@ dependencies = [

[[package]]
name = "kani_macros"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"proc-macro-error",
"proc-macro2",
Expand All @@ -598,7 +598,7 @@ dependencies = [

[[package]]
name = "kani_metadata"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"cprover_bindings",
"serde",
Expand Down Expand Up @@ -1175,7 +1175,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"

[[package]]
name = "std"
version = "0.30.0"
version = "0.31.0"
dependencies = [
"kani",
]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cprover_bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kani-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kani-driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion kani_metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library/kani/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library/kani_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/build-kani/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fda2b42

Please sign in to comment.