Skip to content

Commit 0840b22

Browse files
authored
Kani: use -Z unstable-options instead of --enable-unstable (#386)
`--enable-unstable` has been removed from Kani's latest version and will, thus, break upgrading to a newer Kani version. 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 93325a4 commit 0840b22

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/run-kani.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ run_verification_subset() {
218218
-j \
219219
--output-format=terse \
220220
"${command_args[@]}" \
221-
--enable-unstable \
222221
--cbmc-args --object-bits 12
223222
}
224223

@@ -300,7 +299,6 @@ main() {
300299
$unstable_args \
301300
--no-assert-contracts \
302301
"${command_args[@]}" \
303-
--enable-unstable \
304302
--cbmc-args --object-bits 12
305303
fi
306304
elif [[ "$run_command" == "autoharness" ]]; then
@@ -311,7 +309,6 @@ main() {
311309
$unstable_args \
312310
--no-assert-contracts \
313311
"${command_args[@]}" \
314-
--enable-unstable \
315312
--cbmc-args --object-bits 12
316313
elif [[ "$run_command" == "list" ]]; then
317314
echo "Running Kani list command..."
@@ -347,7 +344,6 @@ main() {
347344
$unstable_args \
348345
--no-assert-contracts \
349346
"${command_args[@]}" \
350-
--enable-unstable \
351347
--cbmc-args --object-bits 12
352348
# remove metadata file for Kani-generated "dummy" crate that we won't
353349
# get scanner data for

0 commit comments

Comments
 (0)