Skip to content

Commit 6d9575e

Browse files
authoredOct 5, 2023
Bump Kani version to 0.38.0 (rust-lang#2798)
Next Kani release. Also includes fixes to changelog formatting.
1 parent 7bf5a6d commit 6d9575e

File tree

11 files changed

+44
-26
lines changed

11 files changed

+44
-26
lines changed
 

‎CHANGELOG.md

+26-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,32 @@ This file contains notable changes (e.g. breaking changes, major changes, etc.)
44

55
This file was introduced starting Kani 0.23.0, so it only contains changes from version 0.23.0 onwards.
66

7+
## [0.38.0]
8+
9+
### Major Changes
10+
11+
* Deprecate `any_slice` by @zhassan-aws in https://github.com/model-checking/kani/pull/2789
12+
13+
### What's Changed
14+
15+
* Provide better error message for invalid stubs by @JustusAdam in https://github.com/model-checking/kani/pull/2787
16+
* Simple Stubbing with Contracts by @JustusAdam in https://github.com/model-checking/kani/pull/2746
17+
* Avoid mismatch when generating structs that represent scalar data but also include ZSTs by @adpaco-aws in https://github.com/model-checking/kani/pull/2794
18+
* Prevent kani crash during setup for first time by @jaisnan in https://github.com/model-checking/kani/pull/2799
19+
* Create concrete playback temp files in source directory by @tautschnig in https://github.com/model-checking/kani/pull/2804
20+
* Bump CBMC version by @zhassan-aws in https://github.com/model-checking/kani/pull/2796
21+
* Update Rust toolchain to 2023-09-23 by @tautschnig in https://github.com/model-checking/kani/pull/2806
22+
23+
**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.37.0...kani-0.38.0
24+
725
## [0.37.0]
826

927
### Major Changes
1028

1129
* Delete obsolete stubs for `Vec` and related options by @zhassan-aws in https://github.com/model-checking/kani/pull/2770
1230
* Add support for the ARM64 Linux platform by @adpaco-aws in https://github.com/model-checking/kani/pull/2757
1331

14-
## What's Changed
32+
### What's Changed
1533

1634
* Function Contracts: Support for defining and checking `requires` and `ensures` clauses by @JustusAdam in https://github.com/model-checking/kani/pull/2655
1735
* Force `any_vec` capacity to match length by @celinval in https://github.com/model-checking/kani/pull/2765
@@ -24,7 +42,7 @@ This file was introduced starting Kani 0.23.0, so it only contains changes from
2442

2543
## [0.36.0]
2644

27-
## What's Changed
45+
### What's Changed
2846

2947
* Enable `-Z stubbing` and error out instead of ignoring stub by @celinval in https://github.com/model-checking/kani/pull/2678
3048
* Enable concrete playback for failure of UB checks by @zhassan-aws in https://github.com/model-checking/kani/pull/2727
@@ -35,7 +53,7 @@ This file was introduced starting Kani 0.23.0, so it only contains changes from
3553

3654
## [0.35.0]
3755

38-
## What's Changed
56+
### What's Changed
3957

4058
* Add support to `simd_bitmask` by @celinval in https://github.com/model-checking/kani/pull/2677
4159
* Add integer overflow checking for `simd_div` and `simd_rem` by @reisnera in https://github.com/model-checking/kani/pull/2645
@@ -52,7 +70,7 @@ By default, Kani will now run CBMC with CaDiCaL, since this solver has outperfor
5270
User's should still be able to select Minisat (or a different solver) either by using `#[solver]` harness attribute,
5371
or by passing `--solver=<SOLVER>` command line option.
5472

55-
## What's Changed
73+
### What's Changed
5674

5775
* Allow specifying the scheduling strategy in #[kani_proof] for async functions by @fzaiser in https://github.com/model-checking/kani/pull/1661
5876
* Support for stubbing out foreign functions by @feliperodri in https://github.com/model-checking/kani/pull/2658
@@ -67,7 +85,7 @@ or by passing `--solver=<SOLVER>` command line option.
6785

6886
## [0.33.0]
6987

70-
## What's Changed
88+
### What's Changed
7189
* Add support for sysconf by @feliperodri in https://github.com/model-checking/kani/pull/2557
7290
* Print Kani version by @adpaco-aws in https://github.com/model-checking/kani/pull/2619
7391
* Upgrade Rust toolchain to nightly-2023-07-01 by @qinheping in https://github.com/model-checking/kani/pull/2616
@@ -77,7 +95,7 @@ or by passing `--solver=<SOLVER>` command line option.
7795

7896
## [0.32.0]
7997

80-
## What's Changed
98+
### What's Changed
8199

82100
* Add kani::spawn and an executor to the Kani library by @fzaiser in https://github.com/model-checking/kani/pull/1659
83101
* Add "kani" configuration key to enable conditional compilation in build scripts by @celinval in https://github.com/model-checking/kani/pull/2297
@@ -91,7 +109,7 @@ or by passing `--solver=<SOLVER>` command line option.
91109

92110
## [0.31.0]
93111

94-
## What's Changed
112+
### What's Changed
95113
* Add `--exact` flag by @jaisnan in https://github.com/model-checking/kani/pull/2527
96114
* Build the verification libraries using Kani compiler by @celinval in https://github.com/model-checking/kani/pull/2534
97115
* Verify all Kani attributes in all crate items upfront by @celinval in https://github.com/model-checking/kani/pull/2536
@@ -102,7 +120,7 @@ or by passing `--solver=<SOLVER>` command line option.
102120

103121
## [0.30.0]
104122

105-
## What's Changed
123+
### What's Changed
106124
* Remove --harness requirement from stubbing by @celinval in https://github.com/model-checking/kani/pull/2495
107125
* Add target selection for cargo kani by @celinval in https://github.com/model-checking/kani/pull/2507
108126
* Generate Multiple playback harnesses when multiple crashes exist in a single harness. by @YoshikiTakashima in https://github.com/model-checking/kani/pull/2496

‎Cargo.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ dependencies = [
119119

120120
[[package]]
121121
name = "build-kani"
122-
version = "0.37.0"
122+
version = "0.38.0"
123123
dependencies = [
124124
"anyhow",
125125
"cargo_metadata",
@@ -264,7 +264,7 @@ dependencies = [
264264

265265
[[package]]
266266
name = "cprover_bindings"
267-
version = "0.37.0"
267+
version = "0.38.0"
268268
dependencies = [
269269
"lazy_static",
270270
"linear-map",
@@ -463,14 +463,14 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
463463

464464
[[package]]
465465
name = "kani"
466-
version = "0.37.0"
466+
version = "0.38.0"
467467
dependencies = [
468468
"kani_macros",
469469
]
470470

471471
[[package]]
472472
name = "kani-compiler"
473-
version = "0.37.0"
473+
version = "0.38.0"
474474
dependencies = [
475475
"clap",
476476
"cprover_bindings",
@@ -491,7 +491,7 @@ dependencies = [
491491

492492
[[package]]
493493
name = "kani-driver"
494-
version = "0.37.0"
494+
version = "0.38.0"
495495
dependencies = [
496496
"anyhow",
497497
"cargo_metadata",
@@ -519,7 +519,7 @@ dependencies = [
519519

520520
[[package]]
521521
name = "kani-verifier"
522-
version = "0.37.0"
522+
version = "0.38.0"
523523
dependencies = [
524524
"anyhow",
525525
"home",
@@ -528,7 +528,7 @@ dependencies = [
528528

529529
[[package]]
530530
name = "kani_macros"
531-
version = "0.37.0"
531+
version = "0.38.0"
532532
dependencies = [
533533
"proc-macro-error",
534534
"proc-macro2",
@@ -538,7 +538,7 @@ dependencies = [
538538

539539
[[package]]
540540
name = "kani_metadata"
541-
version = "0.37.0"
541+
version = "0.38.0"
542542
dependencies = [
543543
"clap",
544544
"cprover_bindings",
@@ -1115,7 +1115,7 @@ checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a"
11151115

11161116
[[package]]
11171117
name = "std"
1118-
version = "0.37.0"
1118+
version = "0.38.0"
11191119
dependencies = [
11201120
"kani",
11211121
]

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani-verifier"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
description = "A bit-precise model checker for Rust."
99
readme = "README.md"

‎cprover_bindings/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "cprover_bindings"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

‎kani-compiler/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani-compiler"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

‎kani-driver/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani-driver"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
description = "Build a project with Kani and run all proof harnesses"
99
license = "MIT OR Apache-2.0"

‎kani_metadata/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani_metadata"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

‎library/kani/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

‎library/kani_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "kani_macros"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

‎library/std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Note: this package is intentionally named std to make sure the names of
66
# standard library symbols are preserved
77
name = "std"
8-
version = "0.37.0"
8+
version = "0.38.0"
99
edition = "2021"
1010
license = "MIT OR Apache-2.0"
1111
publish = false

‎tools/build-kani/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "build-kani"
6-
version = "0.37.0"
6+
version = "0.38.0"
77
edition = "2021"
88
description = "Builds Kani, Sysroot and release bundle."
99
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)
Please sign in to comment.