Skip to content

Commit 7cc33be

Browse files
authored
Merge pull request #676 from GuillaumeGomez/rdl_room
Add missing `add_eval` to generate `__rdl_oom` in the alloc error handler
2 parents 6ba33f5 + f064896 commit 7cc33be

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)