import some other helpers from pat's crate

* parse the proc macro argument into a file path
* use a much simpler witx spec by default
This commit is contained in:
Pat Hickey
2020-01-17 15:48:51 -08:00
parent 0d47556cf7
commit 4c7b3e8685
7 changed files with 65 additions and 14 deletions

View File

@@ -1,2 +1,8 @@
generate::from_witx!();
pub mod test {
generate::from_witx!("test.witx");
}
/*
pub mod wasi {
generate::from_witx!("crates/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx");
}
*/