macro_rules! gentest { ($id:ident $path:tt) => { mod $id { mod normal { wasmtime::component::bindgen!($path); } mod async_ { wasmtime::component::bindgen!({ path: $path, async: true, }); } mod tracing { wasmtime::component::bindgen!({ path: $path, tracing: true, }); } } // ... }; } component_macro_test_helpers::foreach!(gentest);