-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into issue-2113-toolchain
Conflicts: - kani-compiler/src/kani_middle/stubbing/annotations.rs - kani-compiler/src/session.rs (logger initialization issue)
- Loading branch information
Showing
221 changed files
with
6,221 additions
and
1,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Changelog | ||
|
||
This file contains notable changes (e.g. breaking changes, major changes, etc.) in Kani releases. | ||
|
||
This file was introduced starting Kani 0.23.0, so it only contains changes from version 0.23.0 onwards. | ||
|
||
## [0.23.0] | ||
|
||
### Breaking Changes | ||
|
||
- 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: | ||
```rust | ||
let len: usize = kani::any_where(|x| *x < 5, "Restrict the length to a value less than 5"); | ||
``` | ||
should be replaced by: | ||
```rust | ||
// Restrict the length to a value less than 5 | ||
let len: usize = kani::any_where(|x| *x < 5); | ||
``` | ||
|
||
### 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. |
Oops, something went wrong.