Skip to content

Commit 36042e6

Browse files
authored
Merge branch 'main' into std-non-null
2 parents 745855c + e906cde commit 36042e6

File tree

235 files changed

+249
-7549
lines changed

Some content is hidden

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

235 files changed

+249
-7549
lines changed

.github/workflows/bench.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ jobs:
5555
os: ubuntu-20.04
5656
kani_dir: new
5757

58-
- name: Build Kani (new variant)
59-
run: pushd new && cargo build-dev
60-
61-
- name: Build Kani (old variant)
62-
run: pushd old && cargo build-dev
63-
6458
- name: Copy benchmarks from new to old
6559
run: rm -rf ./old/tests/perf ; cp -r ./new/tests/perf ./old/tests/
6660

.github/workflows/cbmc-latest.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
os: ${{ matrix.os }}
3333
kani_dir: 'kani'
3434

35-
- name: Build Kani
36-
working-directory: ./kani
37-
run: cargo build-dev
38-
3935
- name: Checkout CBMC under "cbmc"
4036
uses: actions/checkout@v4
4137
with:

.github/workflows/kani-m1.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,5 @@ jobs:
2323
with:
2424
os: macos-13-xlarge
2525

26-
- name: Build Kani
27-
run: cargo build-dev
28-
2926
- name: Execute Kani regression
3027
run: ./scripts/kani-regression.sh

.github/workflows/kani.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727
with:
2828
os: ${{ matrix.os }}
2929

30-
- name: Build Kani
31-
run: cargo build-dev
32-
3330
- name: Execute Kani regression
3431
run: ./scripts/kani-regression.sh
3532

@@ -88,47 +85,19 @@ jobs:
8885
with:
8986
os: ubuntu-20.04
9087

91-
- name: Build Kani using release mode
92-
run: cargo build-dev -- --release
93-
9488
- name: Execute Kani performance tests
9589
run: ./scripts/kani-perf.sh
9690
env:
9791
RUST_TEST_THREADS: 1
9892

99-
bookrunner:
93+
documentation:
10094
runs-on: ubuntu-20.04
10195
permissions:
10296
contents: write
10397
steps:
10498
- name: Checkout Kani
10599
uses: actions/checkout@v4
106100

107-
- name: Setup Kani Dependencies
108-
uses: ./.github/actions/setup
109-
with:
110-
os: ubuntu-20.04
111-
112-
- name: Build Kani
113-
run: cargo build-dev
114-
115-
- name: Install book runner dependencies
116-
run: ./scripts/setup/install_bookrunner_deps.sh
117-
118-
- name: Generate book runner report
119-
run: cargo run -p bookrunner
120-
env:
121-
DOC_RUST_LANG_ORG_CHANNEL: nightly
122-
123-
- name: Print book runner text results
124-
run: cat build/output/latest/html/bookrunner.txt
125-
126-
- name: Print book runner failures grouped by stage
127-
run: python3 scripts/ci/bookrunner_failures_by_stage.py build/output/latest/html/index.html
128-
129-
- name: Detect unexpected book runner failures
130-
run: ./scripts/ci/detect_bookrunner_failures.sh build/output/latest/html/bookrunner.txt
131-
132101
- name: Install book dependencies
133102
run: ./scripts/setup/ubuntu/install_doc_deps.sh
134103

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
- name: Get toolchain version used to setup kani
137137
run: |
138138
tar zxvf ${{ matrix.prev_job.bundle }}
139-
DATE=$(cat ./kani-latest/rust-toolchain-version | cut -d'-' -f2,3,4)
139+
DATE=$(cat ./kani-${{ matrix.prev_job.version }}/rust-toolchain-version | cut -d'-' -f2,3,4)
140140
echo "Nightly date: $DATE"
141141
echo "DATE=$DATE" >> $GITHUB_ENV
142142

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,8 @@ package-lock.json
7474
tests/rustdoc-gui/src/**.lock
7575

7676
# Before adding new lines, see the comment at the top.
77-
/.litani_cache_dir
7877
/.ninja_deps
7978
/.ninja_log
80-
/tests/bookrunner
8179
*Cargo.lock
8280
tests/kani-dependency-test/diamond-dependency/build
8381
tests/kani-multicrate/type-mismatch/mismatch/target

.gitmodules

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
[submodule "src/doc/nomicon"]
2-
path = tools/bookrunner/rust-doc/nomicon
3-
url = https://github.com/rust-lang/nomicon.git
4-
[submodule "src/doc/reference"]
5-
path = tools/bookrunner/rust-doc/reference
6-
url = https://github.com/rust-lang/reference.git
7-
[submodule "src/doc/rust-by-example"]
8-
path = tools/bookrunner/rust-doc/rust-by-example
9-
url = https://github.com/rust-lang/rust-by-example.git
101
[submodule "firecracker"]
112
path = firecracker
123
url = https://github.com/firecracker-microvm/firecracker.git

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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.49.0]
8+
9+
### What's Changed
10+
* Disable removal of storage markers by @zhassan-aws in https://github.com/model-checking/kani/pull/3083
11+
* Ensure storage markers are kept in std code by @zhassan-aws in https://github.com/model-checking/kani/pull/3080
12+
* Implement validity checks by @celinval in https://github.com/model-checking/kani/pull/3085
13+
* Allow modifies clause for verification only by @feliperodri in https://github.com/model-checking/kani/pull/3098
14+
* Add optional scatterplot to benchcomp output by @tautschnig in https://github.com/model-checking/kani/pull/3077
15+
* Expand ${var} in benchcomp variant `env` by @karkhaz in https://github.com/model-checking/kani/pull/3090
16+
* Add `benchcomp filter` command by @karkhaz in https://github.com/model-checking/kani/pull/3105
17+
* Upgrade Rust toolchain to 2024-03-29 by @zhassan-aws @celinval @adpaco-aws @feliperodri
18+
19+
**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.48.0...kani-0.49.0
20+
721
## [0.48.0]
822

923
### Major Changes

0 commit comments

Comments
 (0)