mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
builtins: Move return pointer to first position for fromUtf8C
This commit is contained in:
parent
a342f02824
commit
60d29c2e25
3 changed files with 12 additions and 21 deletions
|
@ -194,9 +194,9 @@ pub fn str_from_utf8<'a, 'ctx, 'env>(
|
|||
call_void_bitcode_fn(
|
||||
env,
|
||||
&[
|
||||
result_ptr.into(),
|
||||
list_symbol_to_c_abi(env, scope, list).into(),
|
||||
pass_update_mode(env, update_mode),
|
||||
result_ptr.into(),
|
||||
],
|
||||
bitcode::STR_FROM_UTF8,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue