Pat Hickey 67d2ce6d85 Refactor tests to use proptest (#6)
* generator: take an &mut GuestMemory

rather than pass the owned GuestMemory in, just give exclusive access
to it. Makes testing easier.

* tests: start transforming tests to check abi-level generated code as well

* finish lowering of test funcs

* tests: rename variables to more sensible names

* proptesting: reliably finds that we dont allow stuff to be right against end of memory!

* memory: fix off-by-one calc in GuestMemory::contains(&self, Region)

ty proptest!

also, refactored the Region::overlaps to be the same code but easier to
read.

* generator: better location information in GuestError

* testing: proptest generates memory areas, tests everything
2020-02-04 22:35:38 +01:00
2020-02-03 09:59:09 +01:00
2020-02-04 22:35:38 +01:00
2020-02-04 22:35:38 +01:00
2020-01-17 14:54:05 +01:00
2020-02-04 22:35:38 +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%