Skip to content

Commit f064896

Browse files
Add missing add_eval to generate __rdl_oom in the alloc error handler
1 parent 6ba33f5 commit f064896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/allocator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ fn create_wrapper_function(
152152
if output.is_some() {
153153
block.end_with_return(None, ret);
154154
} else {
155+
block.add_eval(None, ret);
155156
block.end_with_void_return(None);
156157
}
157158

0 commit comments

Comments
 (0)