mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
make str/list C abi safe
This commit is contained in:
parent
ce6ab15139
commit
4990e543fa
3 changed files with 7 additions and 8 deletions
|
@ -61,7 +61,7 @@ fn pass_list_cc<'a, 'ctx, 'env>(
|
|||
complex_bitcast(
|
||||
env.builder,
|
||||
list,
|
||||
env.str_list_int().into(),
|
||||
env.str_list_c_abi().into(),
|
||||
"to_str_list_int",
|
||||
)
|
||||
}
|
||||
|
@ -929,7 +929,6 @@ pub fn incrementing_elem_loop<'a, 'ctx, 'env, LoopFn>(
|
|||
where
|
||||
LoopFn: FnMut(IntValue<'ctx>, BasicValueEnum<'ctx>),
|
||||
{
|
||||
let ctx = env.context;
|
||||
let builder = env.builder;
|
||||
|
||||
incrementing_index_loop(env, parent, len, index_name, |index| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue