Skip to content

Commit efefa9f

Browse files
committed
chore: exclude otel thread ctx tests from miri
1 parent 9043236 commit efefa9f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libdd-library-config/src/otel_thread_ctx.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ pub mod linux {
353353
}
354354

355355
#[cfg(test)]
356+
// Accessing the TLS through C isn't supported in Miri
357+
#[cfg_attr(miri, ignore)]
356358
mod tests {
357359
use super::{ThreadContext, ThreadContextRecord};
358360

@@ -534,7 +536,6 @@ pub mod linux {
534536

535537
// Make sure the C shim is indeed providing a thread-local address.
536538
#[test]
537-
#[cfg_attr(miri, ignore)]
538539
fn tls_slots_are_per_thread() {
539540
use std::sync::{Arc, Barrier};
540541

0 commit comments

Comments
 (0)