mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
a start with 32-bit linux support
This commit is contained in:
parent
79d7dd0cbf
commit
61aeaefc76
6 changed files with 68 additions and 37 deletions
|
@ -135,7 +135,7 @@ pub fn argument_type_from_layout<'a, 'ctx, 'env>(
|
|||
Builtin(_) => {
|
||||
let base = basic_type_from_layout(env, layout);
|
||||
|
||||
if layout.is_passed_by_reference() {
|
||||
if layout.is_passed_by_reference(env.target_info) {
|
||||
base.ptr_type(AddressSpace::Generic).into()
|
||||
} else {
|
||||
base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue