mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
make type conversion work on 32-bit architectures
This commit is contained in:
parent
29e053abf3
commit
381ec9c01b
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ pub fn basic_type_from_layout<'a, 'ctx, 'env>(
|
||||||
LambdaSet(lambda_set) => basic_type_from_layout(env, &lambda_set.runtime_representation()),
|
LambdaSet(lambda_set) => basic_type_from_layout(env, &lambda_set.runtime_representation()),
|
||||||
Union(union_layout) => basic_type_from_union_layout(env, union_layout),
|
Union(union_layout) => basic_type_from_union_layout(env, union_layout),
|
||||||
RecursivePointer => env
|
RecursivePointer => env
|
||||||
.context
|
.ptr_int()
|
||||||
.i64_type()
|
|
||||||
.ptr_type(AddressSpace::Generic)
|
.ptr_type(AddressSpace::Generic)
|
||||||
.as_basic_type_enum(),
|
.as_basic_type_enum(),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue