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 eccbbd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugr/src/ops/constant/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ pub fn get_pair_of_input_values<T: CustomConst>(
Some((c0.get_custom_value()?, c1.get_custom_value()?))
}

#[cfg(test)]
// these tests depend on the `typetag` crate.
#[cfg(all(test, not(miri)))]
mod test {

use rstest::rstest;
Expand Down

0 comments on commit eccbbd4

Please sign in to comment.