You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I see no reason to not support (u32, u32) directly without the extra work
But from the host side, I am not very sure how to use call_typed with it
poc/executor/src/lib.rs:69:64
|
69 | let (res_ptr, res_len) = instance.call_typed::<(u32,), (u32, u32)>(&mut self.context, "main", (input_ptr,))?;
| ---------- ^^^^^^^^^^ the trait `polkavm::api::AbiTy` is not implemented for `(u32, u32)`, which is required by `(u32, u32): polkavm::api::FuncResult`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `polkavm::api::AbiTy`:
i32
i64
u32
u64
= note: required for `(u32, u32)` to implement `polkavm::api::FuncResult`
The text was updated successfully, but these errors were encountered:
I got the guest program to compile with this
but I see no reason to not support (u32, u32) directly without the extra work
But from the host side, I am not very sure how to use
call_typed
with itThe text was updated successfully, but these errors were encountered: