Skip to content

Commit

Permalink
fix: miri ignore schema opening
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Jan 15, 2024
1 parent 57d840c commit 1dc5734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hugr/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ pub mod test {
}

/// Serialize and deserialize a value, optionally validating against a schema.
#[cfg_attr(miri, ignore)] // Opening files is not supported in (isolated) miri
pub fn ser_roundtrip_validate<T: Serialize + serde::de::DeserializeOwned>(
g: &T,
schema: Option<&JSONSchema>,
Expand Down

0 comments on commit 1dc5734

Please sign in to comment.