1 // The output of `bindgen!` should be compatible with `no_std` by default, so
2 // test that here with a no_std crate.
3 
4 #![no_std]
5 
6 extern crate std;
7 
8 macro_rules! gentest {
9     ($id:ident $name:tt $path:tt) => {
10         mod $id {
11             wasmtime::component::bindgen!(in $path);
12         }
13     };
14 }
15 
16 component_macro_test_helpers::foreach!(gentest);
17