Skip to content

Commit 9d007c3

Browse files
zhassan-awsfeliperodriremi-delmas-3000Remi Delmascelinval
authored
Upgrade stable branch to Rust 1.89.0 (#4280)
Advance the stable branch to b705ac5 and use the 1.89.0 channel. This PR was created through: 1. Running: `git merge b705ac5 -X theirs` 2. Modifying the channel in `rust-toolchain.toml` to `1.89.0` The rationale for picking b705ac5 is as follows: - The 1.89.0 release was branched from main on 2025-06-20 (see https://releases.rs/docs/1.89.0/) - The latest commit on main for which compilation and regressions pass with the 1.89.0 channel is b705ac5 (which uses the 2025-06-27 toolchain). The next commit (which upgrades to the 2025-06-30 toolchain) fails to compile. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Signed-off-by: Felipe R. Monteiro <felisous@amazon.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Felipe R. Monteiro <felisous@amazon.com> Co-authored-by: Rémi Delmas <remi.delmas.3000@gmail.com> Co-authored-by: Remi Delmas <delmasrd@amazon.com> Co-authored-by: Celina G. Val <celinval@amazon.com> Co-authored-by: Felipe R. Monteiro <rms.felipe@gmail.com> Co-authored-by: Qinheping Hu <qinhh@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: tautschnig <1144736+tautschnig@users.noreply.github.com> Co-authored-by: rajath-mk <rjkotyal@amazon.com> Co-authored-by: Carolyn Zech <cmzech@amazon.com> Co-authored-by: Michael Tautschnig <tautschn@amazon.com> Co-authored-by: Michael Tautschnig <mt@debian.org> Co-authored-by: thanhnguyen-aws <ntson@amazon.com> Co-authored-by: carolynzech <71352687+carolynzech@users.noreply.github.com> Co-authored-by: Florian Bartels <108917393+flba-eb@users.noreply.github.com> Co-authored-by: celinval <35149715+celinval@users.noreply.github.com> Co-authored-by: Samuel Thomas <sgpthomas@gmail.com> Co-authored-by: Sammy Thomas <sgtpl@amazon.com> Co-authored-by: clubby789 <jamie@hill-daniel.co.uk> Co-authored-by: clubby789 <jamie@osec.io> Co-authored-by: Ben Kirwin <ben@kirw.in> Co-authored-by: sintemal <44271441+sintemal@users.noreply.github.com> Co-authored-by: Alex Portland <115113415+AlexanderPortland@users.noreply.github.com> Co-authored-by: Carolyn Zech <carolynzech@gmail.com>
1 parent 16b1b6b commit 9d007c3

File tree

233 files changed

+4698
-3683
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+4698
-3683
lines changed

.github/workflows/bench-compiler.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ jobs:
3737
ref: ${{ env.NEW_REF }}
3838
fetch-depth: 1
3939

40+
- name: Cache Kani build artifacts
41+
uses: Swatinem/rust-cache@v2
42+
with:
43+
cache-on-failure: true
44+
shared-key: "kani-rust-cache-bench"
45+
workspaces: |
46+
new
47+
new/tools/compile-timer
48+
old
49+
old/tools/compile-timer
50+
cache-directories: "~/.rustup"
51+
4052
- name: Set up Kani Dependencies (old variant)
4153
uses: ./old/.github/actions/setup
4254
with:
@@ -101,6 +113,18 @@ jobs:
101113
ref: ${{ env.NEW_REF }}
102114
fetch-depth: 1
103115

116+
- name: Cache Kani build artifacts
117+
uses: Swatinem/rust-cache@v2
118+
with:
119+
cache-on-failure: true
120+
shared-key: "kani-rust-cache-bench"
121+
workspaces: |
122+
new
123+
new/tools/compile-timer
124+
old
125+
old/tools/compile-timer
126+
cache-directories: "~/.rustup"
127+
104128
- name: Set up Kani Dependencies (old variant)
105129
uses: ./old/.github/actions/setup
106130
with:

.github/workflows/kani.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
- name: Checkout Kani
2424
uses: actions/checkout@v4
2525

26+
- name: Cache Kani build artifacts
27+
uses: Swatinem/rust-cache@v2
28+
with:
29+
cache-on-failure: true
30+
shared-key: "kani-rust-cache-dev"
31+
cache-directories: "~/.rustup"
32+
2633
- name: Setup Kani Dependencies
2734
uses: ./.github/actions/setup
2835
with:
@@ -43,6 +50,13 @@ jobs:
4350
sudo apt-get install -y python3-pip
4451
pushd tools/benchcomp && pip3 install -r requirements.txt
4552
53+
- name: Cache Kani build artifacts
54+
uses: Swatinem/rust-cache@v2
55+
with:
56+
cache-on-failure: true
57+
shared-key: "kani-rust-cache-release"
58+
cache-directories: "~/.rustup"
59+
4660
- name: Setup Kani Dependencies
4761
uses: ./.github/actions/setup
4862
with:
@@ -60,6 +74,13 @@ jobs:
6074
- name: Checkout Kani
6175
uses: actions/checkout@v4
6276

77+
- name: Cache Kani build artifacts
78+
uses: Swatinem/rust-cache@v2
79+
with:
80+
cache-on-failure: true
81+
shared-key: "kani-rust-cache-release"
82+
cache-directories: "~/.rustup"
83+
6384
- name: Setup Kani Dependencies
6485
uses: ./.github/actions/setup
6586
with:
@@ -76,6 +97,12 @@ jobs:
7697
- name: Checkout Kani
7798
uses: actions/checkout@v4
7899

100+
- name: Cache Kani build artifacts
101+
uses: Swatinem/rust-cache@v2
102+
with:
103+
cache-on-failure: true
104+
cache-directories: "~/.rustup"
105+
79106
- name: Setup Kani Dependencies
80107
uses: ./.github/actions/setup
81108
with:

.github/workflows/verify-std-check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ jobs:
4141
path: kani
4242
fetch-depth: 0
4343

44+
- name: Cache Kani build artifacts
45+
uses: Swatinem/rust-cache@v2
46+
with:
47+
cache-on-failure: true
48+
workspaces: kani
49+
shared-key: "kani-rust-cache-dev"
50+
cache-directories: "~/.rustup"
51+
4452
- name: Setup Kani Dependencies
4553
uses: ./kani/.github/actions/setup
4654
with:

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@ 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.63.0]
8+
9+
### Breaking Changes
10+
* Finish deprecating `--enable-unstable`, `--restrict-vtable`, and `--write-json-symtab` by @carolynzech in https://github.com/model-checking/kani/pull/4110
11+
12+
### Major Changes
13+
* Add support for quantifiers by @qinheping in https://github.com/model-checking/kani/pull/3993
14+
15+
### What's Changed
16+
* Improvements to autoharness feature:
17+
* Autoharness argument validation: only error on `--quiet` if `--list` was passed by @carolynzech in https://github.com/model-checking/kani/pull/4069
18+
* Autoharness: change `pattern` options to accept regexes by @carolynzech in https://github.com/model-checking/kani/pull/4144
19+
* Target feature changes:
20+
* Enable target features: x87 and sse2 by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/4062
21+
* Set target features depending on the target architecture by @zhassan-aws in https://github.com/model-checking/kani/pull/4127
22+
* Support for quantifiers:
23+
* Fix the error that Kani panics when there is no external parameter in quantifier's closure. by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/4088
24+
* Gate quantifiers behind an experimental feature by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/4141
25+
* Other:
26+
* Fix the bug: Loop contracts are not composable with function contracts by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/3979
27+
* Add setup scripts for Ubuntu 20.04 by @zhassan-aws in https://github.com/model-checking/kani/pull/4082
28+
* Use our toolchain when invoking `cargo metadata` by @carolynzech in https://github.com/model-checking/kani/pull/4090
29+
* Fix a bug codegening `SwitchInt`s with only an otherwise branch by @bkirwi in https://github.com/model-checking/kani/pull/4095
30+
* Update `kani::mem` pointer validity documentation by @carolynzech in https://github.com/model-checking/kani/pull/4092
31+
* Add support for edition 2018 crates using assert! (Fixes #3717) by @sintemal in https://github.com/model-checking/kani/pull/4096
32+
* Handle generic defaults in BoundedArbitrary derives by @zhassan-aws in https://github.com/model-checking/kani/pull/4117
33+
* `ty_mangled_name`: only use non-mangled name if `-Zcffi` is enabled. by @carolynzech in https://github.com/model-checking/kani/pull/4114
34+
* Improve Help Menu by @carolynzech in https://github.com/model-checking/kani/pull/4109
35+
* Start stabilizing `--jobs` and `list`; deprecate default memory checks by @carolynzech in https://github.com/model-checking/kani/pull/4108
36+
* Refactor simd_bitmask to reduce the number of iterations by @zhassan-aws in https://github.com/model-checking/kani/pull/4129
37+
* Improve linking error output for `#[no_std]` crates by @AlexanderPortland in https://github.com/model-checking/kani/pull/4126
38+
* Rust toolchain upgraded to 2025-06-03 by @carolynzech @thanhnguyen-aws @zhassan-aws
39+
40+
**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.62.0...kani-0.63.0
41+
742
## [0.62.0]
843

944
### What's Changed

0 commit comments

Comments
 (0)