1 2 3 4 5 6 7 8
/// Marker for types that are `Sync` but not `Send` pub(crate) struct SyncNotSend(#[allow(dead_code)] *mut ()); unsafe impl Sync for SyncNotSend {} cfg_rt! { pub(crate) struct NotSendOrSync(#[allow(dead_code)] *mut ()); }