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
As far as I can tell, there currently is no straightforward way to transfer Vec<T> types from a wasm module to the host. It would be desirable to let exported functions return other structured types, than those already supported, like so:
The minimal implementation would add Vec<T> where T: wasmtime_interface_types::Value as a supported type. This would allow CustomType and other types to be serialized to Vec<u8> and passed through the ABI.
The text was updated successfully, but these errors were encountered:
As far as I can tell, there currently is no straightforward way to transfer
Vec<T>
types from a wasm module to the host. It would be desirable to let exported functions return other structured types, than those already supported, like so:The minimal implementation would add
Vec<T> where T: wasmtime_interface_types::Value
as a supported type. This would allowCustomType
and other types to be serialized toVec<u8>
and passed through the ABI.The text was updated successfully, but these errors were encountered: