std: do not use dispatch semaphore under miri (yet)

This commit is contained in:
joboet 2022-10-08 09:12:06 +02:00
parent b4c8a7b952
commit c320ab98ff
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C

View File

@ -11,11 +11,14 @@
)))] )))]
cfg_if::cfg_if! { cfg_if::cfg_if! {
if #[cfg(any( if #[cfg(all(
target_os = "macos", any(
target_os = "ios", target_os = "macos",
target_os = "watchos", target_os = "ios",
target_os = "tvos", target_os = "watchos",
target_os = "tvos",
),
not(miri),
))] { ))] {
mod darwin; mod darwin;
pub use darwin::Parker; pub use darwin::Parker;