This adds the missing pieces to make the signature API available to WebAssembly modules, namely all the machinery to convert data between the host and a guest.
Integration into Lucet and Wasmtime should be pretty straightfoward at that point.
The internal interface is automatically generated by wiggle from the witx file, so this proves that the implementation matches the definition.
Enforcing both to match at compilation time immediately spotted minor inconsistencies in the witx file that this changeset also fixes.
This adds the missing pieces to make the signature API available to WebAssembly modules, namely all the machinery to convert data between the host and a guest.
Integration into Lucet and Wasmtime should be pretty straightfoward at that point.
The internal interface is automatically generated by
wiggle
from thewitx
file, so this proves that the implementation matches the definition.Enforcing both to match at compilation time immediately spotted minor inconsistencies in the
witx
file that this changeset also fixes.