Skip to content

Commit

Permalink
test: ignore tests which depend on typetag when cfg(miri) (#1051)
Browse files Browse the repository at this point in the history
fixes #1042
  • Loading branch information
doug-q authored May 15, 2024
1 parent 48a31d7 commit 1c422ab
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 1c422ab

Please sign in to comment.