Skip to content

Commit 40246f5

Browse files
authored
Update verify-std-check workflow to enable loop contracts (#3705)
Update the verify-std-check workflow to be consistent with https://github.com/model-checking/verify-rust-std/blob/main/scripts/run-kani.sh#L186 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent c776a54 commit 40246f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
continue-on-error: true
6060
run: |
6161
kani verify-std -Z unstable-options ./library --target-dir ${{ runner.temp }} -Z function-contracts \
62-
-Z mem-predicates
62+
-Z mem-predicates -Z loop-contracts --enable-unstable --cbmc-args --object-bits 12
6363
6464
# If the head failed, check if it's a new failure.
6565
- name: Checkout base
@@ -77,7 +77,7 @@ jobs:
7777
continue-on-error: true
7878
run: |
7979
kani verify-std -Z unstable-options ./library --target-dir ${{ runner.temp }} -Z function-contracts \
80-
-Z mem-predicates
80+
-Z mem-predicates -Z loop-contracts --enable-unstable --cbmc-args --object-bits 12
8181
8282
- name: Compare PR results
8383
if: steps.check-head.outcome != 'success' && steps.check-head.outcome != steps.check-base.outcome

0 commit comments

Comments
 (0)