Skip to content

Commit 868f0dc

Browse files
committed
fix: skip miri tests for zstd due to ffi
1 parent bdf66cd commit 868f0dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datadog-profiling/src/internal/observation/observations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl IntoIterator for Observations {
189189
}
190190
}
191191

192-
#[cfg(test)]
192+
#[cfg(all(test, not(miri)))]
193193
mod tests {
194194
use super::*;
195195
use crate::collections::identifiable::*;

datadog-profiling/src/internal/profile/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ impl Profile {
910910
}
911911
}
912912

913-
#[cfg(test)]
913+
#[cfg(all(test, not(miri)))]
914914
mod api_tests {
915915
use super::*;
916916
use crate::pprof::test_utils::{roundtrip_to_pprof, sorted_samples, string_table_fetch};

0 commit comments

Comments
 (0)