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! {
if #[cfg(any(
target_os = "macos",
target_os = "ios",
target_os = "watchos",
target_os = "tvos",
if #[cfg(all(
any(
target_os = "macos",
target_os = "ios",
target_os = "watchos",
target_os = "tvos",
),
not(miri),
))] {
mod darwin;
pub use darwin::Parker;