3ef24a04febb67a935493632a763909843c16268
* Adds support for flags datatype This commit adds support for `FlagsDatatype`. In WASI, flags are represented as bitfields/bitflags, therefore, it is important for the type to have bitwise operations implemented, and some way of checking whether the current set of flags contains some other set (i.e., they intersect). Thus, this commit automatically derives `BitAnd`, etc. for the derived flags datatype. It also automatically provides an `ALL_FLAGS` value which corresponds to a bitwise-or of all flag values present and is provided for convenience. * Simplify read_from_guest
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%