Skip to content

Commit

Permalink
test: ignore tests which depend on typetag when cfg(miri)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-q committed May 15, 2024
1 parent 99616a0 commit 7cd9429
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hugr/src/ops/constant/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ mod test {
}

#[rstest]
#[cfg_attr(miri, ignore = "miri is incompatible with the typetag crate")]
#[case(scce_usize())]
#[case(scce_list())]
fn test_custom_serialized_try_from<
Expand Down Expand Up @@ -438,6 +439,7 @@ mod test {
}

#[rstest]
#[cfg_attr(miri, ignore = "miri is incompatible with the typetag crate")]
#[case(example_custom_serialized())]
#[case(example_nested_custom_serialized())]
fn test_try_from_custom_serialized_recursive<CC: CustomConst + PartialEq>(
Expand Down

0 comments on commit 7cd9429

Please sign in to comment.