1 macro_rules! gentest {
2     ($id:ident $path:tt) => {
3         mod $id {
4             mod normal {
5                 wasmtime::component::bindgen!($path);
6             }
7             mod async_ {
8                 wasmtime::component::bindgen!({
9                     path: $path,
10                     async: true,
11                 });
12             }
13             mod tracing {
14                 wasmtime::component::bindgen!({
15                     path: $path,
16                     tracing: true,
17                 });
18             }
19         }
20         // ...
21     };
22 }
23 
24 component_macro_test_helpers::foreach!(gentest);
25