Skip to content

Commit

Permalink
ignore circuit case if mod_builtin feature is not active
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Sep 30, 2024
1 parent 1346d93 commit b2eca48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cairo1-run/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ num-traits = { version = "0.2", default-features = false }
num-bigint.workspace = true

[features]
default = ["with_mimalloc", "mod_builtin"]
default = ["with_mimalloc"]
with_mimalloc = ["dep:mimalloc"]
mod_builtin = ["cairo-vm/mod_builtin"]
4 changes: 2 additions & 2 deletions cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,13 @@ mod tests {
Some("[17 18]"),
Some("[17 18]")
)]
#[case(
#[cfg_attr(feature = "mod_builtin", case(
"circuit.cairo",
"36699840570117848377038274035 72042528776886984408017100026 54251667697617050795983757117 7",
"[36699840570117848377038274035 72042528776886984408017100026 54251667697617050795983757117 7]",
None,
None
)]
))]
fn test_run_program(
#[case] program: &str,
#[case] expected_output: &str,
Expand Down

0 comments on commit b2eca48

Please sign in to comment.