fixes to get rocLovesRust to work

This commit is contained in:
Folkert 2023-02-22 21:17:50 +01:00
parent 5ab2466872
commit 033618f3f4
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 9 additions and 9 deletions

View file

@ -3979,8 +3979,8 @@ fn expose_function_to_host_help_c_abi_v2<'a, 'ctx, 'env>(
// In C, this is modelled as a function returning void
(
&params[..],
// &param_types[..param_types.len().saturating_sub(1)],
&param_types[..],
&param_types[..param_types.len().saturating_sub(1)],
// &param_types[..],
)
}
_ => (&params[..], &param_types[..]),