std: do not use dispatch semaphore under miri (yet)
This commit is contained in:
parent
b4c8a7b952
commit
c320ab98ff
1 changed files with 8 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue