I tried this code:
[package.metadata.kani.flags]
default-unwind = 1
using the following command line invocation:
with Kani version: 0.66.0
I expected to see this happen:
Kani runs with the default unwind set to 1.
Instead, this happened:
I get the message:
error: Unknown key type default-unwind
And nothing else happens. This message comes from here:
https://github.com/model-checking/kani/blob/main/kani-driver/src/args_toml.rs#L151-L183
I found that this works correctly if I instead do:
[package.metadata.kani.flags]
default-unwind = "1"
I expected it to work because of the workspace example given here:
https://model-checking.github.io/kani/tutorial-loop-unwinding.html
...and the package example given here:
https://model-checking.github.io/kani/usage.html#configuration-in-cargotoml
...which both use 1 instead of "1".
I tried this code:
using the following command line invocation:
with Kani version: 0.66.0
I expected to see this happen:
Kani runs with the default unwind set to 1.
Instead, this happened:
I get the message:
error: Unknown key type default-unwindAnd nothing else happens. This message comes from here:
https://github.com/model-checking/kani/blob/main/kani-driver/src/args_toml.rs#L151-L183
I found that this works correctly if I instead do:
I expected it to work because of the workspace example given here:
https://model-checking.github.io/kani/tutorial-loop-unwinding.html
...and the package example given here:
https://model-checking.github.io/kani/usage.html#configuration-in-cargotoml
...which both use
1instead of"1".