mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Revert "Fix some usize -> u64 in List patterns"
This reverts commit e8a0b0930d
.
This commit is contained in:
parent
30712d352a
commit
a15cc0589c
3 changed files with 30 additions and 22 deletions
|
@ -13,11 +13,12 @@ pub(crate) fn decode_from_utf8_result<'a, 'ctx>(
|
|||
layout_interner: &STLayoutInterner<'a>,
|
||||
pointer: PointerValue<'ctx>,
|
||||
) -> BasicValueEnum<'ctx> {
|
||||
let layout =
|
||||
LayoutRepr::Struct(
|
||||
env.arena
|
||||
.alloc([Layout::U64, Layout::STR, Layout::BOOL, Layout::U8]),
|
||||
);
|
||||
let layout = LayoutRepr::Struct(env.arena.alloc([
|
||||
Layout::usize(env.target_info),
|
||||
Layout::STR,
|
||||
Layout::BOOL,
|
||||
Layout::U8,
|
||||
]));
|
||||
|
||||
load_roc_value(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue