Add missing add_eval to generate __rdl_oom in the alloc error handler

This commit is contained in:
Guillaume Gomez 2025-05-16 13:02:20 +02:00
parent 6ba33f5e11
commit f0648966e4

View file

@ -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);
}