diff --git a/src/allocator.rs b/src/allocator.rs index f4ebd42ee2d..279b7dd2fb9 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -152,6 +152,7 @@ fn create_wrapper_function( if output.is_some() { block.end_with_return(None, ret); } else { + block.add_eval(None, ret); block.end_with_void_return(None); }