( toplevel: &Toplevel, fun_idx: FunIdx, args: Vec<G>, io_buffer: &mut IOBuffer, )
| 29 | // `AiurSystem::prove_ixvm` — a `&[G]` here would break that bound. |
| 30 | #[allow(clippy::needless_pass_by_value)] |
| 31 | pub fn execute_ixvm( |
| 32 | toplevel: &Toplevel, |
| 33 | fun_idx: FunIdx, |
| 34 | args: Vec<G>, |
| 35 | io_buffer: &mut IOBuffer, |
| 36 | ) -> Result<(QueryRecord, Vec<G>), ExecError> { |
| 37 | if !toplevel.functions[fun_idx].entry { |
| 38 | return Err(ExecError::NotEntryFunction(fun_idx)); |
| 39 | } |
| 40 | let mut record = QueryRecord::new(toplevel); |
| 41 | let output = execute_generated(fun_idx, &args, &mut record, io_buffer)?; |
| 42 | Ok((record, output)) |
| 43 | } |
no outgoing calls
no test coverage detected