diff options
Diffstat (limited to 'mingling_core/src/program/hook.rs')
| -rw-r--r-- | mingling_core/src/program/hook.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mingling_core/src/program/hook.rs b/mingling_core/src/program/hook.rs index 0bcc051..6f468b3 100644 --- a/mingling_core/src/program/hook.rs +++ b/mingling_core/src/program/hook.rs @@ -737,6 +737,16 @@ mod tests { unreachable!() } + #[cfg(feature = "async")] + fn do_chain( + _any: crate::AnyOutput<Self>, + ) -> std::pin::Pin< + Box<dyn std::future::Future<Output = crate::ChainProcess<Self>> + Send + 'static>, + > { + Box::pin(async { unreachable!() }) + } + + #[cfg(not(feature = "async"))] fn do_chain(_any: crate::AnyOutput<Self>) -> crate::ChainProcess<Self> { unreachable!() } |
