From eccbbd44c430095fd5af4ba010a0ed20d2f51c3d Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Wed, 15 May 2024 08:54:49 +0100 Subject: [PATCH] test: ignore tests which depend on typetag when cfg(miri) --- hugr/src/ops/constant/custom.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugr/src/ops/constant/custom.rs b/hugr/src/ops/constant/custom.rs index 58b5de4bf..6a1b84f45 100644 --- a/hugr/src/ops/constant/custom.rs +++ b/hugr/src/ops/constant/custom.rs @@ -312,7 +312,8 @@ pub fn get_pair_of_input_values( 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;