@@ -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
0 commit comments