1 macro_rules! gentest {
2     ($id:ident $name:tt $path:tt) => {
3         mod $id {
4             mod sugar {
5                 wasmtime::component::bindgen!(in $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                     duplicate_if_necessary: true,
18                 });
19             }
20         }
21     };
22 }
23 
24 component_macro_test_helpers::foreach!(gentest);
25