we now parse witx paths and the ctx type name in the macro invocation
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
pub mod test {
|
||||
// FIXME: parameterize macro on what ctx type is used here
|
||||
generate::from_witx!(["test.witx"]);
|
||||
generate::from_witx!({
|
||||
witx: ["test.witx"],
|
||||
ctx: WasiCtx,
|
||||
});
|
||||
|
||||
pub struct WasiCtx {
|
||||
guest_errors: Vec<::memory::GuestError>,
|
||||
|
||||
Reference in New Issue
Block a user