mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Consistent wrapper result
This commit is contained in:
parent
2d91225b01
commit
b24a907662
1 changed files with 4 additions and 2 deletions
|
@ -3758,8 +3758,10 @@ fn expose_function_to_host_help_c_abi_gen_test<'a, 'ctx>(
|
|||
|
||||
builder.position_at_end(last_block);
|
||||
|
||||
let wrapper_result = layout_interner.insert_direct_no_semantic(LayoutRepr::struct_(
|
||||
env.arena.alloc([Layout::U64, Layout::STR, return_layout]),
|
||||
let wrapper_result = layout_interner.insert_direct_no_semantic(roc_call_result_layout(
|
||||
env.arena,
|
||||
return_layout,
|
||||
env.target_info,
|
||||
));
|
||||
|
||||
call_roc_function(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue