Skip to content

Commit 5fc7793

Browse files
roypatShadowCurse
authored andcommitted
kani: stop using deprecated cli args
--enable-unstable and --restrict-vtable got deprecated in kani 0.59.0 in favor of variants based on -Z flags. So use the -Z flags instead (cherry picked from commit 8495af9) Signed-off-by: Patrick Roy <[email protected]>
1 parent b83e0e5 commit 5fc7793

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration_tests/test_kani.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def test_kani(results_dir):
2929
"""
3030
# -Z stubbing is required to enable the stubbing feature
3131
# -Z function-contracts is required to enable the function contracts feature
32-
# --restrict-vtable is required for some virtio queue proofs, which go out of memory otherwise
32+
# -Z restrict-vtable is required for some virtio queue proofs, which go out of memory otherwise
3333
# -j enables kani harnesses to be verified in parallel (required to keep CI time low)
3434
# --output-format terse is required by -j
35-
# --enable-unstable is needed to enable `-Z` flags
35+
# -Z unstable-options is needed to enable the other `-Z` flags
3636
_, stdout, _ = utils.check_output(
37-
"cargo kani --enable-unstable -Z stubbing -Z function-contracts --restrict-vtable -j --output-format terse",
37+
"cargo kani -Z unstable-options -Z stubbing -Z function-contracts -Z restrict-vtable -j --output-format terse",
3838
timeout=TIMEOUT,
3939
)
4040

0 commit comments

Comments
 (0)