Skip to content

Commit ff68475

Browse files
authored
Merge branch 'main' into challenge-27-arc
2 parents 752f7ca + cd371e0 commit ff68475

1,530 files changed

Lines changed: 519000 additions & 135934 deletions

File tree

Some content is hidden

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

‎.github/pull_requests.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ members = [
1818
"btj",
1919
"rafaelsamenezes",
2020
"lucasccordeiro",
21-
"dkcumming"
21+
"dkcumming",
22+
"DiuDiu777"
2223
]

‎.github/workflows/book.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v4
2020

21+
# Build the book tools with stable: inside this repo, rust-toolchain.toml would select the
22+
# pinned nightly, whose proc_macro no longer has features older dependencies rely on.
2123
- name: Install mdbook
2224
run: |
23-
cargo install mdbook --version "^0.4" --locked
25+
cargo +stable install mdbook --version "^0.4" --locked
2426
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
2527
2628
# Removed --locked for now since it is broken due to old proc_macro feature.
2729
- name: Install linkchecker
28-
run: cargo install mdbook-linkcheck --version "^0.7"
30+
run: cargo +stable install mdbook-linkcheck --version "^0.7"
2931

3032
- name: Build Documentation
3133
run: mdbook build doc

‎.github/workflows/flux.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [main]
99

1010
env:
11-
FLUX_VERSION: "9c1b5e278791f57eed1fd109816bbe180423fa9d"
11+
FLUX_VERSION: "849ef7c31ce06ec92e211050ac2f5bc8c543896d"
1212
FIXPOINT_VERSION: "nightly-2026-07-20"
1313

1414
jobs:

‎.github/workflows/kani.yml‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ jobs:
101101
# Notes:
102102
# - core_arch::x86::__m128d::as_f64x2 is just one example of hundreds of
103103
# core_arch::x86:: functions that are known to verify successfully.
104+
# - __rdl_dealloc/__rdl_realloc are excluded until their contracts require ptr
105+
# to come from the allocator (#712).
106+
# - unicode::unicode_data::conversions::to_* are not listed for now: since the
107+
# Unicode tables were regenerated (nightly-2026-09-25) they exceed the 10m
108+
# timeout on macOS and the ubuntu runner died while verifying them.
104109
- name: Run Kani Verification
105110
run: |
106111
scripts/run-kani.sh --run autoharness --kani-args \
@@ -109,6 +114,7 @@ jobs:
109114
--include-pattern "<(.+)[[:space:]]as[[:space:]]iter::range::Step>::backward_unchecked" \
110115
--include-pattern "<(.+)[[:space:]]as[[:space:]]iter::range::Step>::forward_unchecked" \
111116
--include-pattern alloc::__default_lib_allocator:: \
117+
--exclude-pattern "alloc::__default_lib_allocator::__rdl_(dealloc|realloc)" \
112118
--include-pattern alloc::layout::Layout::from_size_align \
113119
--include-pattern ascii::ascii_char::AsciiChar::from_u8 \
114120
--include-pattern "<char[[:space:]]as[[:space:]]ascii::AsciiExt>::is_ascii" \
@@ -206,7 +212,6 @@ jobs:
206212
--exclude-pattern time::Duration::from_nanos_u128 \
207213
--include-pattern time::Duration::from_secs \
208214
--exclude-pattern time::Duration::from_secs_f \
209-
--include-pattern unicode::unicode_data::conversions::to_ \
210215
--exclude-pattern ::precondition_check \
211216
--harness-timeout 10m \
212217
--default-unwind 1000 \
@@ -256,8 +261,18 @@ jobs:
256261
with:
257262
python-version: '3.x'
258263

264+
- name: Test the metrics script
265+
run: |
266+
pip install -r scripts/kani-std-analysis/requirements.txt
267+
python3 -m unittest discover -s scripts/kani-std-analysis
268+
259269
# Step 2: Run list on the std library
260270
- name: Run Kani Metrics
271+
# Under Kani each library crate takes 1-12 GB to compile; compiling them in parallel
272+
# exceeds the 16 GB of an ubuntu-latest runner, which then dies with "The runner has
273+
# received a shutdown signal". One crate at a time peaks at the largest one (std).
274+
env:
275+
CARGO_BUILD_JOBS: 1
261276
run: |
262277
scripts/run-kani.sh --run metrics --with-autoharness
263278
pushd /tmp/std_lib_analysis
@@ -354,6 +369,11 @@ jobs:
354369

355370
# Step 2: Run list on the std library
356371
- name: Run Kani List
372+
# Under Kani each library crate takes 1-12 GB to compile; compiling them in parallel
373+
# exceeds the 16 GB of an ubuntu-latest runner, which then dies with "The runner has
374+
# received a shutdown signal". One crate at a time peaks at the largest one (std).
375+
env:
376+
CARGO_BUILD_JOBS: 1
357377
run: |
358378
head/scripts/run-kani.sh --run list --with-autoharness --path ${{github.workspace}}/head
359379
# remove duplicate white space to reduce file size (GitHub permits at

‎.github/workflows/rapx.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
branches: [main]
99

1010
env:
11-
RAPX_VERSION: "0.7.38"
12-
TOOLCHAIN: "nightly-2025-11-25"
11+
RAPX_VERSION: "0.7.50"
12+
TOOLCHAIN: "nightly-2026-02-05"
1313

1414
jobs:
1515
verify-slice:

‎.gitignore‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ package-lock.json
4949
## Kani
5050
*.out
5151

52-
## GOTO-Transcoder
53-
goto-transcoder
52+
## ESBMC
53+
esbmc
5454
# Added by cargo
5555
#
5656
# already existing elements were commented out

0 commit comments

Comments
 (0)