Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback subcommand should respect Cargo.toml configuration #2467

Open
celinval opened this issue May 24, 2023 · 0 comments
Open

Playback subcommand should respect Cargo.toml configuration #2467

celinval opened this issue May 24, 2023 · 0 comments
Assignees
Labels
[C] Bug This is a bug. Something isn't working.

Comments

@celinval
Copy link
Contributor

I tried running cargo kani playback in a package with the following Cargo.toml:

# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT
[package]
name = "test"
version = "0.1.0"
edition = "2021"

[package.metadata.kani.flags]
debug=true

[package.metadata.kani.unstable]
concrete-playback = true

using the following command line invocation:

cargo kani playback --test kani_concrete

with Kani version: #2464

I expected to see this happen: Playback should run the test

Instead, this happened: I get the following error:

error: The `playback` subcommand is unstable and requires `-Z concrete-playback` to be used.                                    
                                                                                                                                
Usage: cargo-kani [OPTIONS] [COMMAND]                           
                                                                                                                                
For more information, try '--help'.

If I add -Z concrete-playback, Kani runs but not in debug mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Bug This is a bug. Something isn't working.
Projects
No open projects
Status: Todo
Development

No branches or pull requests

3 participants