rename macro. add comments to invocation.

This commit is contained in:
Pat Hickey
2020-06-23 14:16:53 -07:00
parent abc3982234
commit bb339aaba0
2 changed files with 7 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ mod config;
use config::{InstanceConf, TargetConf};
#[proc_macro]
pub fn define_struct_for_wiggle(args: TokenStream) -> TokenStream {
pub fn define_wasmtime_integration(args: TokenStream) -> TokenStream {
let mut config = parse_macro_input!(args as config::Config);
config.witx.make_paths_relative_to(
std::env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR env var"),