change proc macro argument parsing to use syn

This commit is contained in:
Pat Hickey
2020-01-30 14:29:53 -08:00
parent e2079c085d
commit 0ba8e73184
4 changed files with 41 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
pub mod test {
// FIXME: parameterize macro on what ctx type is used here
generate::from_witx!("test.witx");
generate::from_witx!(["test.witx"]);
pub struct WasiCtx {
guest_errors: Vec<::memory::GuestError>,