Files
wasmtime/crates/wiggle/generate
Pat Hickey f8f9b14c6f wiggle: introduce wiggle::Trap, which can be either a String or I32
also, make noreturn functions always return a Trap

wasmtime-wiggle can trivially turn a wiggle::Trap into a wasmtime::Trap.
lucet will have to do the same.
2021-01-07 11:45:11 -08:00
..
2020-11-05 09:39:53 -06:00

wiggle-generate

This is a library crate that implements all of the component parts of the wiggle proc-macro crate.

Code lives in a separate non-proc-macro crate so that it can be reused in other settings, e.g. the lucet-wiggle crate.

Code generated by this crate should not have any references to a particular WebAssembly runtime or engine. It should instead expose traits that may be implemented by an engine. Today, it is consumed by both Lucet and Wasmtime.