Jakub Konka 898af8e2fb Revisit GuestArray and their deref mechanics
In preparation for landing `string` support in `wiggle`, I've
revisited `GuestArray` and the deref mechanics, and decided to
scrap the current approach in favour of the previous. Namely, for
`T: GuestTypeCopy` we provide `GuestArray::as_ref` which then can
be derefed directly to `&[T]` since the guest and host types have
matching representation, and for other types (thinking here of
our infamous arrays of pointers), I've instead added a way to
iterate over the pointers. Then, it is up to the `wiggle`'s client
to know whether they can deref whatever the pointer stored in array
is pointing at.
2020-02-20 23:16:53 +01:00
2020-02-03 09:59:09 +01:00
2020-02-04 22:35:38 +01:00
2020-01-17 14:54:05 +01:00
2020-01-17 19:46:21 +01:00
2020-01-17 19:41:17 +01:00

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
No description provided
Readme 125 MiB
Languages
Rust 77.8%
WebAssembly 20.6%
C 1.3%