mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Merge pull request #4254 from roc-lang/wasm32_cli_run
wasm 32 cli run fixes, added to ci tests
This commit is contained in:
commit
d242895ff9
6 changed files with 288 additions and 2814 deletions
|
@ -6850,7 +6850,7 @@ pub fn to_cc_return<'a, 'ctx, 'env>(env: &Env<'a, 'ctx, 'env>, layout: &Layout<'
|
|||
return_size >= 2 * env.target_info.ptr_width() as u32
|
||||
}
|
||||
roc_target::OperatingSystem::Unix => return_size > 2 * env.target_info.ptr_width() as u32,
|
||||
roc_target::OperatingSystem::Wasi => unreachable!(),
|
||||
roc_target::OperatingSystem::Wasi => return_size > 2 * env.target_info.ptr_width() as u32,
|
||||
};
|
||||
|
||||
if return_size == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue