mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
higher alignment requirement on rocstr/roclist
This commit is contained in:
parent
6beff62ece
commit
1d17a21d1f
3 changed files with 12 additions and 8 deletions
|
@ -295,8 +295,8 @@ pub fn str_from_utf8_range<'a, 'ctx, 'env>(
|
|||
|
||||
let record_type = env.context.struct_type(
|
||||
&[
|
||||
env.ptr_int().into(),
|
||||
super::convert::zig_str_type(env).into(),
|
||||
env.ptr_int().into(),
|
||||
env.context.bool_type().into(),
|
||||
ctx.i8_type().into(),
|
||||
],
|
||||
|
@ -343,8 +343,8 @@ pub fn str_from_utf8<'a, 'ctx, 'env>(
|
|||
|
||||
let record_type = env.context.struct_type(
|
||||
&[
|
||||
env.ptr_int().into(),
|
||||
super::convert::zig_str_type(env).into(),
|
||||
env.ptr_int().into(),
|
||||
env.context.bool_type().into(),
|
||||
ctx.i8_type().into(),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue