diff --git a/crates/recursion/core/src/runtime/unconstrained.rs b/crates/recursion/core/src/runtime/unconstrained.rs index 808e38405..e38f85de3 100644 --- a/crates/recursion/core/src/runtime/unconstrained.rs +++ b/crates/recursion/core/src/runtime/unconstrained.rs @@ -1,5 +1,18 @@ +use super::io::StdinBuffer; + +pub struct UnconstrainedBlock { + pub stdin_buffer: StdinBuffer, + // other fields, if any... +} + impl UnconstrainedBlock { - // Adding a new method to write to the front of the queue + pub fn new() -> Self { + Self { + stdin_buffer: StdinBuffer::new(), + // initialization of other fields... + } + } + pub fn write_front(&mut self, data: Vec) { self.stdin_buffer.write_front(data); }