mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
std: do not use dispatch semaphore under miri (yet)
This commit is contained in:
parent
b4c8a7b952
commit
c320ab98ff
@ -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…
Reference in New Issue
Block a user