aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program/repl_exec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/program/repl_exec.rs')
-rw-r--r--mingling_core/src/program/repl_exec.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mingling_core/src/program/repl_exec.rs b/mingling_core/src/program/repl_exec.rs
new file mode 100644
index 0000000..feeaad9
--- /dev/null
+++ b/mingling_core/src/program/repl_exec.rs
@@ -0,0 +1,12 @@
+use crate::{Program, ProgramCollect};
+
+#[cfg(not(feature = "async"))]
+impl<C> Program<C>
+where
+ C: ProgramCollect<Enum = C>,
+{
+ pub fn exec_repl(self) {}
+}
+
+#[cfg(feature = "async")]
+impl<C> Program<C> where C: ProgramCollect<Enum = C> {}