7a4c881409f491be0a4ac12368e6837fda61e659
This commit fixes stubs for struct members that are `GuestTypeCopy` but are not `GuestTypeClone`. In this case, we cannot rely on methods `T::read_from_guest` or `T::write_to_guest` since these are only available if `T: GuestTypeClone`. In those cases, we can and should dereference the location pointer to `T` and copy the result in/out respectively.
wiggle
An experimental implementation of bytecodealliance/wig crate which
generates Rust bindings from *.witx that are meant to be more idiomatic
and hopefully allowing for easier polyfilling between different WASI
snapshot versions in the future.
Description
Languages
Rust
77.8%
WebAssembly
20.6%
C
1.3%