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

Bump Kani version to 0.34.0 #2666

Merged
merged 5 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ This file was introduced starting Kani 0.23.0, so it only contains changes from
## [0.34.0]

### Breaking Changes
* Change default solver to CaDiCaL by @celinval in https://github.com/model-checking/kani/pull/2557
* Change default solver to CaDiCaL ([pull request](https://github.com/model-checking/kani/pull/2557) by @celinval)
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
By default, Kani will now run CBMC with CaDiCaL, since this solver has outperformed Minisat in most of our benchmarks.
User's should still be able to select Minisat (or a different solver) either by using `#[solver]` harness attribute,
or by passing `--solver=<SOLVER>` command line option.

## What's Changed

* Allow specifying the scheduling strategy in #[kani_proof] for async functions ([pull request](https://github.com/model-checking/kani/pull/1661) by @fzaiser)
* Support for stubbing out foreign functions ([pull request](https://github.com/model-checking/kani/pull/2658) by @feliperodri)
* Coverage reporting without a need for cbmc-viewer ([pull request](https://github.com/model-checking/kani/pull/2609) by @adpaco-aws)
* Add support to array-based SIMD ([pull request](https://github.com/model-checking/kani/pull/2633) by @celinval)
* Add unchecked/SIMD bitshift checks and disable CBMC flag ([pull request](https://github.com/model-checking/kani/pull/2630) by @reisnera)
* Bump CBMC to v5.89.0 ([pull request](https://github.com/model-checking/kani/pull/2662) by @remi-delmas-3000)
* Update Rust toolchain to nightly 2023-08-04 ([pull request](https://github.com/model-checking/kani/pull/2661) by @remi-delmas-3000)
tautschnig marked this conversation as resolved.
Show resolved Hide resolved

## New Contributors
* @reisnera made their first contribution in https://github.com/model-checking/kani/pull/2630

tautschnig marked this conversation as resolved.
Show resolved Hide resolved
**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.33.0...kani-0.34.0

## [0.33.0]
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ dependencies = [

[[package]]
name = "build-kani"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"anyhow",
"cargo_metadata",
Expand Down Expand Up @@ -267,7 +267,7 @@ dependencies = [

[[package]]
name = "cprover_bindings"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"lazy_static",
"linear-map",
Expand Down Expand Up @@ -487,14 +487,14 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"

[[package]]
name = "kani"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"kani_macros",
]

[[package]]
name = "kani-compiler"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"clap",
"cprover_bindings",
Expand All @@ -515,7 +515,7 @@ dependencies = [

[[package]]
name = "kani-driver"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"anyhow",
"cargo_metadata",
Expand All @@ -542,7 +542,7 @@ dependencies = [

[[package]]
name = "kani-verifier"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"anyhow",
"home",
Expand All @@ -551,7 +551,7 @@ dependencies = [

[[package]]
name = "kani_macros"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"proc-macro-error",
"proc-macro2",
Expand All @@ -561,7 +561,7 @@ dependencies = [

[[package]]
name = "kani_metadata"
version = "0.33.0"
version = "0.34.0"
dependencies = [
"cprover_bindings",
"serde",
Expand Down Expand Up @@ -1149,7 +1149,7 @@ checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"

[[package]]
name = "std"
version = "0.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.0"
edition = "2021"
description = "Builds Kani, Sysroot and release bundle."
license = "MIT OR Apache-2.0"
Expand Down
Loading