Skip to content

Commit fcc9d8b

Browse files
authored
Bump Kani version to 0.53.0 (rust-lang#3317)
Bump Kani version to 0.53.0 and add notes for the upcoming release.
1 parent f6d3385 commit fcc9d8b

File tree

12 files changed

+58
-20
lines changed

12 files changed

+58
-20
lines changed

CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,44 @@ 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.53.0]
8+
9+
### Major Changes
10+
* The `--visualize` option is being deprecated and will be removed in a future release. Consider using the `--concrete-playback` option instead.
11+
* The `-Z ptr-to-ref-cast-checks` option is being introduced to check pointer validity when casting raw pointers to references. The feature is currently behind an unstable flag but is expected to be stabilized in a future release once remaining performance issues have been resolved.
12+
* The `-Z uninit-checks` option is being introduced to check memory initialization. The feature is currently behind an unstable flag and also requires the `-Z ghost-state` option.
13+
14+
### Breaking Changes
15+
* Remove support for the unstable argument `--function` by @celinval in https://github.com/model-checking/kani/pull/3278
16+
* Remove deprecated `--enable-stubbing` by @celinval in https://github.com/model-checking/kani/pull/3309
17+
18+
### What's Changed
19+
20+
* Change ensures into closures by @pi314mm in https://github.com/model-checking/kani/pull/3207
21+
* (Re)introduce `Invariant` trait by @adpaco-aws in https://github.com/model-checking/kani/pull/3190
22+
* Remove empty box creation from contracts impl by @celinval in https://github.com/model-checking/kani/pull/3233
23+
* Add a new verify-std subcommand to Kani by @celinval in https://github.com/model-checking/kani/pull/3231
24+
* Inject pointer validity check when casting raw pointers to references by @artemagvanian in https://github.com/model-checking/kani/pull/3221
25+
* Do not turn trivially diverging loops into assume(false) by @tautschnig in https://github.com/model-checking/kani/pull/3223
26+
* Fix "unused mut" warnings created by generated code. by @jsalzbergedu in https://github.com/model-checking/kani/pull/3247
27+
* Refactor stubbing so Kani compiler only invoke rustc once per crate by @celinval in https://github.com/model-checking/kani/pull/3245
28+
* Use cfg=kani_host for host crates by @tautschnig in https://github.com/model-checking/kani/pull/3244
29+
* Add intrinsics and Arbitrary support for no_core by @jaisnan in https://github.com/model-checking/kani/pull/3230
30+
* Contracts: Avoid attribute duplication and `const` function generation for constant function by @celinval in https://github.com/model-checking/kani/pull/3255
31+
* Fix contract of constant fn with effect feature by @celinval in https://github.com/model-checking/kani/pull/3259
32+
* Fix typed_swap for ZSTs by @tautschnig in https://github.com/model-checking/kani/pull/3256
33+
* Add a `#[derive(Invariant)]` macro by @adpaco-aws in https://github.com/model-checking/kani/pull/3250
34+
* Contracts: History Expressions via "old" monad by @pi314mm in https://github.com/model-checking/kani/pull/3232
35+
* Function Contracts: remove instances of _renamed by @pi314mm in https://github.com/model-checking/kani/pull/3274
36+
* Deprecate `--visualize` in favor of concrete playback by @celinval in https://github.com/model-checking/kani/pull/3281
37+
* Fix operand in fat pointer comparison by @pi314mm in https://github.com/model-checking/kani/pull/3297
38+
* Function Contracts: Closure Type Inference by @pi314mm in https://github.com/model-checking/kani/pull/3307
39+
* Add support for f16 and f128 for toolchain upgrade to 6/28 by @jaisnan in https://github.com/model-checking/kani/pull/3306
40+
* Towards Proving Memory Initialization by @artemagvanian in https://github.com/model-checking/kani/pull/3264
41+
* Rust toolchain upgraded to `nightly-2024-07-01` by @tautschnig @celinval @jaisnan @adpaco-aws
42+
43+
**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.52.0...kani-0.53.0
44+
745
## [0.52.0]
846

947
## What's Changed

Cargo.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
9292

9393
[[package]]
9494
name = "build-kani"
95-
version = "0.52.0"
95+
version = "0.53.0"
9696
dependencies = [
9797
"anyhow",
9898
"cargo_metadata",
@@ -228,7 +228,7 @@ dependencies = [
228228

229229
[[package]]
230230
name = "cprover_bindings"
231-
version = "0.52.0"
231+
version = "0.53.0"
232232
dependencies = [
233233
"lazy_static",
234234
"linear-map",
@@ -405,14 +405,14 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
405405

406406
[[package]]
407407
name = "kani"
408-
version = "0.52.0"
408+
version = "0.53.0"
409409
dependencies = [
410410
"kani_macros",
411411
]
412412

413413
[[package]]
414414
name = "kani-compiler"
415-
version = "0.52.0"
415+
version = "0.53.0"
416416
dependencies = [
417417
"clap",
418418
"cprover_bindings",
@@ -433,7 +433,7 @@ dependencies = [
433433

434434
[[package]]
435435
name = "kani-driver"
436-
version = "0.52.0"
436+
version = "0.53.0"
437437
dependencies = [
438438
"anyhow",
439439
"cargo_metadata",
@@ -461,7 +461,7 @@ dependencies = [
461461

462462
[[package]]
463463
name = "kani-verifier"
464-
version = "0.52.0"
464+
version = "0.53.0"
465465
dependencies = [
466466
"anyhow",
467467
"home",
@@ -470,14 +470,14 @@ dependencies = [
470470

471471
[[package]]
472472
name = "kani_core"
473-
version = "0.52.0"
473+
version = "0.53.0"
474474
dependencies = [
475475
"kani_macros",
476476
]
477477

478478
[[package]]
479479
name = "kani_macros"
480-
version = "0.52.0"
480+
version = "0.53.0"
481481
dependencies = [
482482
"proc-macro-error",
483483
"proc-macro2",
@@ -487,7 +487,7 @@ dependencies = [
487487

488488
[[package]]
489489
name = "kani_metadata"
490-
version = "0.52.0"
490+
version = "0.53.0"
491491
dependencies = [
492492
"clap",
493493
"cprover_bindings",
@@ -992,7 +992,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
992992

993993
[[package]]
994994
name = "std"
995-
version = "0.52.0"
995+
version = "0.53.0"
996996
dependencies = [
997997
"kani",
998998
]

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.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.0"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
publish = false

library/kani_core/Cargo.toml

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

44
[package]
55
name = "kani_core"
6-
version = "0.52.0"
6+
version = "0.53.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.52.0"
6+
version = "0.53.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.52.0"
8+
version = "0.53.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.52.0"
6+
version = "0.53.0"
77
edition = "2021"
88
description = "Builds Kani, Sysroot and release bundle."
99
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)